Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread Jim Gibson
file.03 03-Jan-2011 0500 > .. > .. > /backup/file.31 31-Jan-2011 0500 > /backup/file.32 01-Feb-2011 0500 > /backup/file.33 02-Feb-2011 0500 > > I want the script to check the most recent file in a backup directory, i.e. > newest, for example /backup/file.33 and disp

Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread Shawn H Corey
On 11-03-02 12:31 PM, shawn wilson wrote: Seems like more of a pain for a modest gain in speed to me. I like find and dt because its quick and easy. Either way though. No, because you don't have to worry about daylight-savings time or switching time zones. Seconds from the epoch is the same o

Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread shawn wilson
On Mar 2, 2011 12:16 PM, "Shawn H Corey" wrote: > > On 11-03-02 12:12 PM, shawn wilson wrote: >> >> First, use File::Find to get your info (or you could use system( ls -l ) and >> split - either way). To compare your time stamps, use DateTime and do dt1 - >> dt2 >> > > No. If you can do all your

Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread Shawn H Corey
On 11-03-02 12:12 PM, shawn wilson wrote: First, use File::Find to get your info (or you could use system( ls -l ) and split - either way). To compare your time stamps, use DateTime and do dt1 - dt2 No. If you can do all your calculations using seconds from the epoch, then do so. Only conve

Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread shawn wilson
First, use File::Find to get your info (or you could use system( ls -l ) and split - either way). To compare your time stamps, use DateTime and do dt1 - dt2

Re: Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread Shawn H Corey
On 11-03-02 11:34 AM, newbie01 perl wrote: My main hurdle is the file timestamp and date arithmetic part. Frm Google'ing, am leaning towards using stat which am hoping will work on both Unix and Windows. Some guidance will be much appreciated. Thanks in advance. Use the stat function to get th

Scan/Parse directory for "newest" file, print file timestamp and compute date/time difference - Some advice please

2011-03-02 Thread newbie01 perl
the script to check the most recent file in a backup directory, i.e. newest, for example /backup/file.33 and display the timestamp, i.e. date and time, of the file. Then I want to compare it with today's date and display the date/time difference in n days n hours n minutes. If the file is more t

Re: Newest Version

2002-12-06 Thread Christopher D . Lewis
http://www.cpan.org/src/ links from that page get you where you want. Install directions linked from perl.org are at http://dev.perl.org/perl5/news/2002/07/18/580ann/INSTALL Best regards, Chris On Thursday, December 5, 2002, at 01:40 PM, Paul Kraus wrote: I see that the newest version of

Re: Newest Version

2002-12-05 Thread Mystik Gotan
ftp://ftp.cpan.org/pub/CPAN/src/perl-5.8.0.tar.gz -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: "Paul Kraus" <[EMAIL PROTECTED]> To: "Perl" <[EMAIL PROTECTED]> Subject: Newest Version Date: Thu,

Newest Version

2002-12-05 Thread Paul Kraus
I see that the newest version of Perl 5.8.0 is out. But when I follow the links to get it for my sco open server box it takes me to 5.0005. Where can I get version 5.8 for sco? Paul Kraus Network Administrator PEL Supply Company 216.267.5775 Voice 216-267-6176 Fax www.pelsupply.com -- To

RE: newest

2002-10-01 Thread Martin Falley
> From: Shirley Frogge [mailto:[EMAIL PROTECTED]] > > > Hi, Hi > I am the newest of beginners!! I have Oracle 8i on Windows XP. > Where can I download Perl? > What do I download? use google > > Thanks, > Shirley You're really a beginner: > > >

RE: newest

2002-10-01 Thread Nikola Janceski
http://activestate.com/Products/Download/Register.plex?id=ActivePerl suggested. > -Original Message- > From: Shirley Frogge [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 10:34 AM > To: Beginners@Perl. Org (E-mail) > Subject: newest > > >

newest

2002-10-01 Thread Shirley Frogge
Hi, I am the newest of beginners!! I have Oracle 8i on Windows XP. Where can I download Perl? What do I download? Thanks, Shirley begin 666 InterScan_Disclaimer.txt M0U-502 R,# R.B @26UA9VEN92!T:&4@4&]S7-T96US($%N;G5A;"!52!A;'-O(&)E(&QE9V%L;'D@<')I=F

Re: Which is the newest edition of Learning Perl

2001-06-18 Thread Randal L. Schwartz
> "Peter" == Peter Pitchford <[EMAIL PROTECTED]> writes: Peter> http://www.oreilly.com/catalog/lperl3/ Peter> Learning Perl is the quintessential tutorial for the Perl programming Peter> language. The third edition has not only been updated to Perl Version Peter> 5.6, but has also been rewrit

re: Which is the newest edition of Learning Perl

2001-06-18 Thread Peter Pitchford
The third addition is coming out in July This page has links to all the upcoming oreilly books: http://www.oreilly.com/catalog/new.html http://www.oreilly.com/catalog/lperl3/ Learning Perl is the quintessential tutorial for the Perl programming language. The third edition has not only been

Re: Which is the newest edition of Learning Perl

2001-06-18 Thread Alec Edworthy
August 2001 see http://www.amazon.co.uk/exec/obidos/ASIN/0596001320/o/qid=992862423/sr=8-2/2 02-3719372-4348657 for more info Alec - Original Message - From: "George S Pereira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 18, 2001 11:56 AM Subjec