It appears that stating a nonexistant file will clear _ and that a file test on _ will be undefined if _ is cleared. HTH$ perl -le' print defined -e _ ? "defined" : "undef"; lstat q!test.txt!; print defined -e _ ? "defined" : "undef"; lstat q!/not_a_real_file!; print defined -e _ ? "defined" : "undef"; ' undef defined undef
In reply to Re: Can the special underline filehandle (stat cache) be cleared?
by jwkrahn
in thread Can the special underline filehandle (stat cache) be cleared?
by ammon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |