Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Should -f test return true for symlinks ?

by Anonymous Monk
on Oct 23, 2013 at 14:04 UTC ( #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
Node Status?
node history
Node Type: note [id://1059311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-08-13 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (68 votes). Check out past polls.

    Notices?