Subject: | Compat with perl 5.8.x? |
The tests fail because the "defined-or" operator is used, which is not available in perl 5.8.x:
Warning: Use of "shift" without parentheses is ambiguous at t/00_time_ago.t line 20.
Number found where operator expected at t/00_time_ago.t line 20, near "// 0"
(Missing operator before 0?)
syntax error at t/00_time_ago.t line 20, near "// 0"
Execution of t/00_time_ago.t aborted due to compilation errors.
t/00_time_ago.t .........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Maybe this can be rewritten using an old-fashioned "defined" check?