muntfish has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (files)
Now this is probably a RTFM question, but I have gone through various perldocs and can't find the answer.
I just want to find the filename of the target of a symbolic link. I can tell that something is a symlink (using the -l test) and I can get some info on the target (using stat) or the link itself (using lstat) but these don't tell me the actual name of the target.
I'm sure I'm missing something obvious - please can someone give me a shove in the right direction? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Target filename of a symbolic link⭐
by shenme (Priest) on Sep 07, 2004 at 14:21 UTC | |
by muntfish (Chaplain) on Sep 07, 2004 at 14:27 UTC | |
by QM (Parson) on Sep 07, 2004 at 19:01 UTC | |
|
Re: Target filename of a symbolic link⭐
by mrpeabody (Friar) on Sep 07, 2004 at 19:40 UTC |