in reply to Re: Best way to compare date strings
in thread Best way to compare date strings

Strange when i install the mods and run i get.
$ perl test.pl Can't call method "in_units" on an undefined value at test.pl line 22.

Replies are listed 'Best First'.
Re^3: Best way to compare date strings
by minixman (Beadle) on Jan 04, 2006 at 12:50 UTC
    I downloaed the modules again and installed them, still get strange errors
    $ perl test.pl Scalar found where operator expected at (eval 4) line 1, near "%+$nano +second" (Missing operator before $nanosecond?) syntax error at (eval 4) line 1, near "%+$nanosecond"

      It looks like you might have cut and pasted the code from your browser instead of using the 'download' link. That will add extra '+' characters into the code where it get split on a line break.

      --
      <http://dave.org.uk>

      "The first rule of Perl club is you do not talk about Perl club."
      -- Chip Salzenberg