If you use the special filehandle _ (as is mentioned in the docs for stat) it won't actually call the stat system call again but instead reuse the results from the last time it was called on a real file or handle.
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re: Most efficient File Modified check (w/o warnings)
by Fletch
in thread Most efficient File Modified check (w/o warnings)
by Cefu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |