Re: Calculate Last Month

2005-12-01 Thread Scott Leighton
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_

Re: Perl NET::FTP limitations

2005-12-01 Thread DZ-Jay
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,

Re: Calculate Last Month

2005-12-01 Thread $Bill Luebkert
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 =

Re: Calculate Last Month

2005-12-01 Thread Dr.Ruud
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($

Calculate Last Month

2005-12-01 Thread David Sawyer
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

Calculate Last Month

2005-12-01 Thread David Sawyer
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

RE: Perl NET::FTP limitations

2005-12-01 Thread Mittal, Manish
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

Rgx fails at Unicode string using modifier /i

2005-12-01 Thread Axel Mock
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