Andreas Moroder wrote:
Hello,

I have a entry in my directory that is a soft-link to another directory.
Is there a way in perl to get, starting from the link, the path of the real directory ?

Thanks
Andreas



See:
perldoc -f readlink  http://perldoc.perl.org/functions/readlink.html
perldoc -f symlink   http://perldoc.perl.org/functions/symlink.html
perldoc perlfunc and search for /-l File is a symbolic link/ http://perldoc.perl.org/perlfunc.html#Alphabetical-Listing-of-Perl-Functions


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to