Note that calling lstat on an empty string on some systems will give you the same results as lstat("."). So this solution isn't portable.1
- tye
1 Luckily, it isn't needed. Unluckily, I didn't notice that you were doing this before I replied with my better (IMO, at least) solution.
In reply to Re^3: Can the special underline filehandle (stat cache) be cleared? ("")
by tye
in thread Can the special underline filehandle (stat cache) be cleared?
by ammon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |