Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: interpolation with filetest operators

by Aighearach (Initiate)
on Dec 09, 2001 at 06:16 UTC ( [id://130495] : note . print w/replies, xml ) Need Help??


in reply to interpolation with filetest operators

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"
--
Snazzy tagline here