>  I haven't taken a look any deeper than reading this email but the
> first thing that jumps to mind would be something to do with list vs.
> scalar context... perhaps the new Date::Manip is returning a list, and
> you're assigning it to a scalar?
>
> On Tue, Nov 24, 2009 at 10:49 AM, Rene Schickbauer
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hi!
>
>     Installed another linux box today and installed my usual set of
>     modules.
>
>     There was a problem with Date::Manip (installed a 6.xx version)
>     The function UnixDate now returns "1" instead of the correct date.
>     When i copied an older 5.xx version to that box, everything worked
>     again.
>
>     Date::Manip::Migration5to6 doesn't mention anything related to
>     UnixDate(), and the function description didn't change either as
>     far as i can tell.
>
>     The code i use is something like this:
>
>     use Date::Manip qw(Date_Init UnixDate);
>     Date_Init("TZ=CET");
>     my $datestring = UnixDate("last friday in june 2009", "%Y-%m-%d");
>
>     The whole kaboodle is a bit more complex, but im fairly certain
>     that are the offending lines.
>
>     LG
>     Rene
>
>     P.S.: If you need the complete code that fails, it's in
>     Maplat::Helpers::DateStrings
>
I've corrected the problem. I just release a new version, but it'll be
tomorrow before it's distributed on CPAN. You can also get it
immediately from:

http://heather.osg.ufl.edu/Date-Manip.tar.gz

Thanks for the report.

Reply via email to