Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: "The stat preceding -l _ wasn't an lstat"?

by Tanktalus (Canon)
on Jan 19, 2010 at 20:08 UTC ( [id://818282]=note: print w/replies, xml ) Need Help??


in reply to Re^2: "The stat preceding -l _ wasn't an lstat"?
in thread "The stat preceding -l _ wasn't an lstat"?

Just reverse it, and it's ok. ! -l $file && -f _. The -f flag can work on lstat's output, whether the lstat found a link or not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found