in reply to
Using Permissions as a Parameter
To correct the two previous posts, you have to include the directory name in the test:
next if -l "$directoryName/$file";
[download]
Comment on
Re: Using Permissions as a Parameter
Download
Code
Replies are listed 'Best First'.
Re^2: Using Permissions as a Parameter
by
archfool
(Monk)
on Aug 15, 2007 at 15:51 UTC
Heh... I'm used to using glob() myself. But the -l $file should work either way, once the directory is tacked on. :)
[reply]
In Section
Seekers of Perl Wisdom