On Thu, Apr 10, 2008 at 1:42 AM, nag <[EMAIL PROTECTED]> wrote:
> hi,
>  please help me to get all the files present in a directory which are
>  created/accessed in last 4 hours .
snip

Take a look at File::Find* and the stat function** or -M***.  You may
also want to read perldoc -q "How do I get a file's timestamp in
perl?"****


* http://perldoc.perl.org/File/Find.html
** http://perldoc.perl.org/functions/stat.html
*** http://perldoc.perl.org/functions/-X.html
**** 
http://perldoc.perl.org/perlfaq5.html#How%20do%20I%20get%20a%20file%27s%20timestamp%20in%20perl?

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to