Subject: Fw: Re: directory recursion
From: Arthur Corliss (arthur@corlissfamily.org)
Date: Thu Mar 07 2002 - 22:31:20 AKST
Oops! Left something out:
<snip>
foreach $e (@entries) {
if (-d $e) {
process_dir("$dir/$e");
# ^^^^^^^^
} else {
# Do something to the file
}
}
----Arthur Corliss Bolverk's Lair -- http://arthur.corlissfamily.org/ Digital Mages -- http://www.digitalmages.com/ "Live Free or Die, the Only Way to Live" -- NH State Motto ------- End of Forwarded Message -------
--
--Arthur Corliss Bolverk's Lair -- http://arthur.corlissfamily.org/ Digital Mages -- http://www.digitalmages.com/ "Live Free or Die, the Only Way to Live" -- NH State Motto
This archive was generated by hypermail 2a23 : Fri Mar 08 2002 - 15:24:30 AKST