On Mon, Jul 23, 2001 at 10:21:22PM -0500, Steve Howard wrote:
> Actually, in reading that directory, you can use -M to find the age in days
> of a file. This will be in decimal, so to get an integer age, use the int
> function. Something like this:
That's true, it is easier, and I'm not sure why
-Original Message-
From: Steve Howard [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 9:24 PM
To: Groove Salad
Cc: [EMAIL PROTECTED]
Subject: RE: newbie: Date::Calc Question
In answer to the question, yes it can. This may not be the easiest way to do
this, but doing it with Date::Calc, I
In answer to the question, yes it can. This may not be the easiest way to do
this, but doing it with Date::Calc, I would probably do something like this:
# reading the directories in my temp directory
# which is defined by an environment variable
# and accessed as $ENV{TEMP}
opendir (TEMP, "$ENV
On Mon, Jul 23, 2001 at 12:05:35PM -0700, Groove Salad wrote:
> Is there a way using Date::Calc to determine all the files in a DIR that
> have not been accessed or modified in the last xx number of days? I
> thought it would also require the use of stat().
That's done easily enough, and doesn'