Re: date compare problems

2002-01-07 Thread John W. Krahn
"John W. Krahn" wrote: > > #!/usr/bin/perl -w > use strict; > > # Get the mtime from two files > my $date1 = (stat $file)[9]; > my $date2 = (stat 'zzp2.txt')[9]; > > print scalar $date1, ' ', scalar $date2, "\n"; Sorry, I was typing too fast. This line should be: print scalar localtime($da

Re: date compare problems

2002-01-07 Thread Matt C.
It looks very much like you've not installed the Date::Manip module on your system. Have you? If not try this at the command-line: perl -MCPAN -eshell then tell it: install Date::Manip And watch it roll. You may need your sys admin to run 'make install' on it, however. In fact, you may wa

Re: date compare problems

2002-01-07 Thread John W. Krahn
Alex Harris wrote: > > Ok so I'm REALLY REALLY a newbie and this next question is going to sound > like "where's the spoon" so you can feed me but... > Here's my code and the error I got. I know it means I'm suppose to include > something but I'm not sure what. You are making this _way_ too com

RE: date compare problems

2002-01-07 Thread McCollum, Frank
strings. -Frank -Original Message- From: Alex Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 12:26 PM To: [EMAIL PROTECTED] Subject: date compare problems Ok so I'm REALLY REALLY a newbie and this next question is going to sound like "where's the spoon&

RE: date compare problems

2002-01-07 Thread Yacketta, Ronald
sounds like yah need to install the Manip pacakge > -Original Message- > From: Alex Harris [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 07, 2002 12:26 > To: [EMAIL PROTECTED] > Subject: date compare problems > > > > > > Ok so I'm REALLY

date compare problems

2002-01-07 Thread Alex Harris
Ok so I'm REALLY REALLY a newbie and this next question is going to sound like "where's the spoon" so you can feed me but... Here's my code and the error I got. I know it means I'm suppose to include something but I'm not sure what. use File::stat; use Time::localtime; $date_string =