LPM: File::Find

Rich Bowen rbowen at rcbowen.com
Sat Nov 13 10:30:24 CST 1999


By the way, I appear to have made an error in my discussion of
File::Find. I'm pretty sure that I said what the Cookbook says, so I'm a
little confused. But, this is from the File::Find documentation:

$File::Find::dir contains the current directory name, and $_ the current
filename within that directory. $File::Find::name contains
"$File::Find::dir/$_".

I said that dir contains the directory relative to where you started,
which is, I think, what the Cookbook says. I'll check the errata page to
see.

Rich
-- 
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt



More information about the Lexington-pm mailing list