more useful options | |
PerlMonks |
Re: interpolation with filetest operatorsby Aighearach (Initiate) |
on Dec 09, 2001 at 06:16 UTC ( [id://130495]=note: print w/replies, xml ) | Need Help?? |
Does "perm" mean "permissions?" If so, you need to stat() the file, and look at the results... see perldoc -f stat
if not, then maybe what you want is eval "-$perm \$file"
In Section
Seekers of Perl Wisdom
|
|