|
|
| P is for Practical | |
| PerlMonks |
Re: symlink woesby johngg (Abbot) |
| on Aug 22, 2012 at 17:03 UTC ( #989098=note: print w/ replies, xml ) | Need Help?? |
|
You could use lstat to determine whether your directory is actually a symlink to a directory and readlink to find out where it is pointing. The standard Cwd module might also allow you to keep better track of which directory you are in. I'm not sure how useful these pointers will be when having to interact with sudo but, hopefully, they will help you move forward. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||