Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://130495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-06-24 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.