Re: getting the original filename from a symlink

2007-01-10 Thread S.A. Birl
On Jan 10, 2007, John W. Krahn ([EMAIL PROTECTED]) typed: John: S.A. Birl wrote: John: John: > What function can I perform against symfile.jpg to find out the John: > filename it points to (ie: d.jpg)? I looked at lstat(), but it doesnt John: > look like the function I want. John: John: perl

Re: getting the original filename from a symlink

2007-01-10 Thread John W. Krahn
S.A. Birl wrote: > I have a (Solaris 9) symlink that changing it's location every hour: > > symfile.jpg --> d.jpg > symfile.jpg --> c.jpg > symfile.jpg --> b.jpg > symfile.jpg --> f.jpg > symfile.jpg --> e.jpg > symfile.jpg --> a.jpg > > What function can I per