John Baker wrote:
> #-- This module is a must-have:
> use Date::Manip;
Hi John,
I'm not so sure about your suggestion. You might wish to re-read the section
concerning whether usage is appropriate in the doc for this module. The author
explicitly recommends that the module be used only in pr
On Thu, Jan 30, 2003 at 10:23:14AM -0500, John Baker wrote:
> On Thu, 30 Jan 2003, Bob Showalter wrote:
>
> > If you just want to compare two files to see if one is newer, use the -M
> > operator:
> >
> >$need_recompile = 1 if -M 'foo.java' < -M 'foo.class';
> >
> > -M gives you the age in day
On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:
> Date: Thu, 30 Jan 2003 10:49:27 -0500
> From: [EMAIL PROTECTED]
> To: John Baker <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: TimeStamp compare
>
> Ok mate and where can I download that module?
>
http:
Ok mate and where can I download that module?
Quoting John Baker <[EMAIL PROTECTED]>:
>
>
>
> On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:
>
> > Date: Thu, 30 Jan 2003 07:59:11 -0500
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subj
On Thu, 30 Jan 2003, Bob Showalter wrote:
> If you just want to compare two files to see if one is newer, use the -M
> operator:
>
>$need_recompile = 1 if -M 'foo.java' < -M 'foo.class';
>
> -M gives you the age in days of a file, measured from the time your script
> was started (stored in the
On Thu, 30 Jan 2003 09:34:12 -0500 (EST), John Baker <[EMAIL PROTECTED]> wrote:
> #-- This module is a must-have:
> use Date::Manip;
>
> # Get properly formatted modify time of file from epoch
> my $fmodtime = (stat($fh))[9];
> my
[EMAIL PROTECTED] wrote:
> Hi there mates,
>
>I would like to Know If anyone of you have already tried to get
> the time and date a file was created from the OS.
The stat() function will do that. But read on...
> For example imagine
> I have a *.java file and I would like to compare the *.c
On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote:
> Date: Thu, 30 Jan 2003 07:59:11 -0500
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: TimeStamp compare
>
> Hi there mates,
>
>I would like to Know If anyone of you have already tried to get the time and
&
On Thu, 30 Jan 2003 08:49:00 -0500, [EMAIL PROTECTED] wrote:
> Ok , I see what you mean but How Can I compare the dates once They aren“t
> numeric?
>
Remember to group reply so the list can help/benefit as well.
Not sure what you mean? If you
On Thu, 30 Jan 2003 07:59:11 -0500, [EMAIL PROTECTED] wrote:
> Hi there mates,
>
>I would like to Know If anyone of you have already tried to get the time and
> date a file was created from the OS. For example imagine I have a *.java file
>
Hi there mates,
I would like to Know If anyone of you have already tried to get the time and
date a file was created from the OS. For example imagine I have a *.java file
and I would like to compare the *.class file date of creation with the date of
edition of the *.java file in other to mak
11 matches
Mail list logo