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?? |
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.
In Section
Seekers of Perl Wisdom
|
|