You can use readlink to get the file pointed to and test that.
print "link is good" if (-e readlink($linkname));
In reply to Re: Check for whether File is Dangling Symlink
by halfcountplus
in thread Check for whether File is Dangling Symlink
by cynba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |