Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: interpolation with filetest operators

by Chmrr (Vicar)
on Dec 09, 2001 at 06:08 UTC ( #130493=note: print w/ replies, xml ) Need Help??


in reply to interpolation with filetest operators

Looks like eval "-$perm \$file" will do the trick.

Update: Since testing shows that it works, I made it a statement, not a question.

Update 2: $TIMTOWTDI = eval "-$perm \"$file\""

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: interpolation with filetest operators
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2015-07-04 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls