Re: Checking if files are older than 20 mins in a particular directory Chris E. Rempola wrote:
> Hi All:

Hello,

> Could someone point me in the right direction to write out a simple Perl
> script to check for old files in a particular directory that are older
> than 20 mins.  Is there a module to grab current timestamp?  Thanks.

You could probably use the -M file test operator:

perldoc -f -M



John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.       -- Larry Wall

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


