On Thursday 01 December 2005 11:46 am, David Sawyer wrote:
> Does anyone know a simple way to calculate the Month of last month using
> Date::Calc
>
> I can get the current Month using Month_to_Text but I am not sure how to
> figure out how to get Last months value.
>
use Date::Calc qw (Add_Delta_
use Archive::Zip
dZ.
Mittal, Manish wrote:
Is there a way to archive the files from perl? These files are traded
twice and sometimes thrice daily.
Manish
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dr.Ruud
Sent: Wednesday, November 30,
David Sawyer wrote:
> Does anyone know a simple way to calculate the Month of last month using
> Date::Calc
>
> I can get the current Month using Month_to_Text but I am not sure how to
> figure out how to get Last months value.
I'd just use a hash and 2 lines of code.
eg:
my %last_mons = (0 =
David Sawyer:
> Does anyone know a simple way to calculate the Month of last month
> using Date::Calc
Try the month of the day before the first day of the current month.
($year, $month, $day) = Today();
($year, $month, $day) = Add_Delta_Days($year, $month, 1, -1);
$string = Month_to_Text($
Does anyone know a simple way to calculate the Month of last month using
Date::Calc
I can get the current Month using Month_to_Text but I am not sure how to
figure out how to get Last months value.
Regards,
David Sawyer
Senior Customer Support Engineer
Ceon Corporation
650-817-6334 (office
Does anyone know a simple way to calculate the Month of last month using
Date::Calc
I can get the
current Month using Month_to_Text but I am not sure how to figure
out how to get Last months value.
Regards,David
Sawyer Senior
Customer Support EngineerCeon Corporation650-817-6334 (off
Is there a way to archive the files from perl? These files are traded
twice and sometimes thrice daily.
Manish
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dr.Ruud
Sent: Wednesday, November 30, 2005 10:24 PM
To: activeperl@listserv.ActiveState.com
Su
Hi,
we got a strange problem here, and it took quite a while to pin it down to the
code snippet below.
A PERL script parses through a bunch of source files looking for different
copyright strings.
The files are being read by a routine, which is capable of reading in Unicode
files.
The real re