![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: stat weirdness?by ysth (Canon) |
on Feb 25, 2004 at 16:55 UTC ( #331717=note: print w/replies, xml ) | Need Help?? |
To work on the symlink instead of following it, do an lstat instead of stat. To use the tests, do an lstat and then e.g. -d _
In Section
Seekers of Perl Wisdom
|
|