Re: [Perl-unix-users] File age

2002-09-04 Thread Bayard Bell
>From perldoc for the stat function (as opposed to the OO interface available via file::stat): 8 atimelast access time in seconds since the epoch 9 mtimelast modify time in seconds since the epoch 10 ctimeinode change time (NOT creation time

RE: [Perl-unix-users] need some help in pattern matching

2002-09-04 Thread logger
Thanks Peter with a little tinkering I was breezing along Thanks to All logger -Original Message- From: Peter Eisengrein To: 'logger'; [EMAIL PROTECTED] Sent: 9/3/02 11:33 PM Subject: RE: [Perl-unix-users] need some help in pattern matching ### UNTESTED my $line = 'DNFAR1S query tli

[Perl-unix-users] Re: File age

2002-09-04 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hello, > > I am looking to find out the age of a file in days, what is the best way to > do this using perl and maby file:stat or something? I have tried but get > some outrageous number in the millions!? Untested: my $ctime = (stat $filename)[10]; # or mtime

[Perl-unix-users] File age

2002-09-04 Thread jna
Hello, I am looking to find out the age of a file in days, what is the best way to do this using perl and maby file:stat or something? I have tried but get some outrageous number in the millions!? thanks ___ Perl-Unix-Users mailing list [EMAIL PROT

Re: [Perl-unix-users] need some help in pattern matching

2002-09-04 Thread $Bill Luebkert
logger wrote: > SOrry actually my framing of the question was wrong > my actual query was > How to match this pattern > > \x00020bb8a9f3702f > > I think is it > > and then break it into > > into > v6=3000 // dec of 0bb8 > v7=169.43.112.47 // (a9f3702f converted to decimal ) >