in reply to stat function ? number two

     Here's how I do it...
use POSIX 'strftime'; open (FILE, "file.txt"); my $filedate = strftime('%m%d%Y', localtime( (lstat(FILE))[9] ));
Vince

Replies are listed 'Best First'.
Re: Re: stat function ? number two
by Anonymous Monk on Jun 12, 2002 at 16:29 UTC
    Im j/w is there a way to do it withought use POSIX