[Omaha.pm] Module refuses to return a value
Jay Hannah
jay at jays.net
Sat Dec 9 16:23:22 PST 2006
On Dec 9, 2006, at 4:19 PM, Mike Hostetler wrote:
> Actually I figured it out. It wasn't my code -- it was my data! :) I
> was looking for a date in the Excel sheet and (when I wrote the script
> at the end of the month) the date was mm/dd/yyyy. I thought at the
> beginning of the month it would be mm/0d/yyyy but it's actually
> mm/d/yyyy. Stupid Excel!
>
> Anyway, I changed my regex (which I didn't see) and now my module
> works fine
I got *really* tired of date format programming so I started a torrid
love affair with Class::Date earlier this year.
http://search.cpan.org/~dlux/Class-Date-1.1.9/Date.pod
You might like it. :)
(We sub-class it for our own mischievous purposes.)
j
More information about the Omaha-pm
mailing list