in reply to Re: Can the special underline filehandle (stat cache) be cleared?
in thread Can the special underline filehandle (stat cache) be cleared?
It is interesting to note that the file tests, such as -e do not exhibit the same behaviour, with respect to warnings, as stat() and lstat():
$ perl -we'-e _' $ perl -we'stat _' stat() on unopened filehandle _ at -e line 1.
That's a better solution than what I was using before, but I wonder if, as above, there's a "more correct" way to do it.
Cheers,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can the special underline filehandle (stat cache) be cleared? ("")
by tye (Sage) on Oct 04, 2006 at 03:51 UTC |