Re: Comparing dates

2006-06-25 Thread John W. Krahn
ebony smith wrote: > I am new to perl and need to compare some dates in a file stored in > dd-mm- format to find out if the dates are greater than 30, 60 or 90 > days. > However, I am not quite sure how to go about doing that in perl and I > was wondering if anyone out there had any tips on how

Re: Comparing dates

2006-06-25 Thread Anthony Ettinger
Date::Calc On 6/25/06, ebony smith <[EMAIL PROTECTED]> wrote: I am new to perl and need to compare some dates in a file stored in dd-mm- format to find out if the dates are greater than 30, 60 or 90 days. However, I am not quite sure how to go about doing that in perl and I was wondering if

Re: best way of getting a web document

2006-06-25 Thread Anthony Ettinger
On 6/24/06, Matt Johnson <[EMAIL PROTECTED]> wrote: Mumia W. wrote: > Dan wrote: >> LWP or HTTP::Client? >> i've used both and run across..some problems. [...] >> i need the most reliable to fetch the feed, and pass me the body of >> the page so i can pass it to an xml parser of sort. >> >> unles

Re: best way of getting a web document

2006-06-25 Thread Matt Johnson
Mumia W. wrote: Dan wrote: LWP or HTTP::Client? i've used both and run across..some problems. [...] i need the most reliable to fetch the feed, and pass me the body of the page so i can pass it to an xml parser of sort. unless there's something else which can already do that? [...] Hi Dan.

Comparing dates

2006-06-25 Thread ebony smith
I am new to perl and need to compare some dates in a file stored in dd-mm- format to find out if the dates are greater than 30, 60 or 90 days. However, I am not quite sure how to go about doing that in perl and I was wondering if anyone out there had any tips on how to do this. I extract

Re: substr question

2006-06-25 Thread John W. Krahn
David Gilden wrote: > Hello, Hello, > I am not sure I have the syntax quite right here, any suggestions would be > welcome. > > > $line = "Friday, June 23, 2006 12:30 PM" ; > > $last_updated = substr($line, 0, (length($line) -9)); > # remove the time part of time stamp > # the above line is th

Re: What does it mean 'LANG=C'

2006-06-25 Thread Mumia W.
Mumia W. wrote: Ron Johnson wrote: [...] Oops, I sent to the wrong list. My apologies. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What does it mean 'LANG=C'

2006-06-25 Thread Mumia W.
Ron Johnson wrote: When US keyboards have the Euro symbol on it, then it will have happened. P.S. - How do you enter a Euro symbol from a US kbd into Tbird? One key on your keyboard might be set aside for composing foreign characters; this is called the Compose key. To enter a Euro (€) symbol

Re: substr question

2006-06-25 Thread Tom Phoenix
On 6/25/06, David Gilden <[EMAIL PROTECTED]> wrote: I am not sure I have the syntax quite right here, any suggestions would be welcome. You can find the syntax for substr, as with any of Perl's built-in functions, in the perlfunc manpage. You should be able to use this command from the command

Re: substr question

2006-06-25 Thread Chad Perrin
On Sun, Jun 25, 2006 at 01:16:13PM -0500, David Gilden wrote: > Hello, > > I am not sure I have the syntax quite right here, any suggestions would be > welcome. > > > $line = "Friday, June 23, 2006 12:30 PM" ; > > $last_updated = substr($line, 0, (length($line) -9)); # remove the time part >

substr question

2006-06-25 Thread David Gilden
Hello, I am not sure I have the syntax quite right here, any suggestions would be welcome. $line = "Friday, June 23, 2006 12:30 PM" ; $last_updated = substr($line, 0, (length($line) -9)); # remove the time part of time stamp # the above line is throwing an error Thx, Dave Gilden (kora

RE: Can't use string ("3862926") as a HASH ref while "strict refs"

2006-06-25 Thread Moon, John
From: Muma W. [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 4:11 PM To: Beginners List Subject: Re: Can't use string ("3862926") as a HASH ref while "strict refs" Moon, John wrote: > [...] >150 $totals{$fund}{$service}{$acct}{AMT} += $amt; >151 $totals{$fund}{$service}{$

Re: CSV file that can be loaded to Microsoft Outlook

2006-06-25 Thread Mihir Kamdar
hii, thanx a lot for your immediate reply... now i m able to import but after that it is not taking up correct values. Following is the line that i m trying to import. Now if i keep this as a single line in the CSV file (no word wrap), then Outlook is not importing it. Only if I break the line,

Re: web 2.0 module

2006-06-25 Thread Paul Johnson
On Fri, Jun 23, 2006 at 10:29:28PM +0800, Ken Perl wrote: > hi, > does anybody know any mature web2.0 modules on CPAN? There are quite a few modules that have been in beta for a long time. Does that help? In the unlikely event that it doesn't, you might need to define what you are looking for in