in reply to DateTime::Duration - bareword SCALAR not allowed

... sudo cpanm DateTime DateTime is up to date. (1.18) ...

But what directory is it installed in?

  • Comment on Re: DateTime::Duration - bareword SCALAR not allowed

Replies are listed 'Best First'.
Re^2: DateTime::Duration - bareword SCALAR not allowed
by dgcoleman (Initiate) on Feb 22, 2015 at 16:10 UTC

    Thanks Anonymous Monk.

    Actually, your question led to the fix. It turns out that the DateTime and Params::Validate libraries were installed in two places. I suppose this might be a relic from back when this was originally built. I caught the DateTime double and renamed it but had missed the Params::Validate double. Once I moved that relic the code ran fine.

    This was just a matter of an updated DateTime depending on an obsolete Params::Validate library.

    Thanks for the clue.

    D.