--- "Faulkingham, Shawn" <[EMAIL PROTECTED]> wrote:
> Does anyone know of a module that will retrieve extended attributes for
> file? I am looking for the last accessed date on a file, to produce of list
> of old files. I am sure that it can be done, I am just unaware of a module
> that does this already. Any help is appreciated.
> 
> Shawn Faulkingham - CCNA

Shawn,

See 'perldoc -f stat'.

  my $last_accessed = (stat $filename )[8]; # in seconds since the epoch

Cheers,
Curtis "Ovid" Poe

=====
Senior Programmer
Onsite! Technology (http://www.onsitetech.com/)
"Ovid" on http://www.perlmonks.org/

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to