good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Using -M to test age of fileby sauoq (Abbot) |
on Aug 22, 2003 at 17:07 UTC ( [id://285868]=note: print w/replies, xml ) | Need Help?? |
In fact -X just calls stat and caches the unused result fragments in the _ magical var - yes it is called _ so you can do this: Just to clarify, caching the results isn't peculiar to the filetest operators; stat() itself caches the results too. -sauoq "My two cents aren't worth a dime.";
In Section
Seekers of Perl Wisdom
|
|