in reply to Re: Recursive file search
in thread Recursive file search

if (-d $f) {
This breaks horribly for symlinks, which is why you shouldn't code this yourself.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^3: Recursive file search
by mellin (Scribe) on Feb 20, 2005 at 10:09 UTC
    I'm not really sure wether i'm needing this feature or not. I know i should always prepare for the unexpected, but there should never be symlinks on these folders. I'll take the hint though and look for the direction of File::Find.