in reply to verifying symbolic links
Resolving symlinks is trickier than it seems. Let the operating system do it for you instead of trying to do it yourself with readlink./home/me/links/foo -> ../bar
print "Bad link: $link -> $rc\n" if -l $link && ! -e $link;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: verifying symbolic links
by eLore (Hermit) on Jul 25, 2001 at 17:09 UTC |