Welcome to the Monastery | |
PerlMonks |
Re^2: File::find and skipping directoriesby sacked (Hermit) |
on Jun 03, 2004 at 15:49 UTC ( [id://360218]=note: print w/replies, xml ) | Need Help?? |
I suggest explicitly checking for a directory named '/home' to allow it:
Aside, your status message is redundant: You can simplify this to:
Remember that inside the wanted subroutine (offenders in this case), $_ contains the basename,$File::Find::name contains the full path, and $File::Find::dir contains the current directory. --sacked
In Section
Seekers of Perl Wisdom
|
|