Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Should -f test return true for symlinks ?

by Anonymous Monk
on Oct 23, 2013 at 14:04 UTC ( [id://1059311]=note: print w/replies, xml ) Need Help??


in reply to Should -f test return true for symlinks ? [RESOLVED]

It seems to be following the link. If "bar" is a symlink to "foo," "-f" will return true for both of them. If you then remove "foo," leaving the now-orphaned symlink, it will now return false for both of them.
  • Comment on Re: Should -f test return true for symlinks ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-26 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found