and I can't give you a better answer than kennethk did, that SCALAR doesn't seem to be properly imported.
Did you try what he showed here to isolate the problem?
In reply to Re: DateTime::Duration - bareword SCALAR not allowed
by LanX
in thread DateTime::Duration - bareword SCALAR not allowed
by dgcoleman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |