Here's what happens during `make test`:
t/test......String found where operator expected at
/disk1/src/PERL/.cpanplus/5.9.5/build/Readonly-XS-1.04/blib/lib/Readonly/XS.pm
line 36, near "Carp::croak "Readonly::XS is not a standalone module. You
should not use it directly.""
(Do you need to predeclare Carp::croak?)
# Failed test 'Unauthorized use'
# at t/test.t line 17.
# got: 'syntax error
# BEGIN not safe after errors--compilation aborted at /disk1'
# expected: 'Readonly::XS is not a standalone module. You should not
use it directly'
String found where operator expected at
/disk1/src/PERL/.cpanplus/5.9.5/build/Readonly-XS-1.04/blib/lib/Readonly/XS.pm
line 36, near "Carp::croak "Readonly::XS is not a standalone module. You
should not use it directly.""
(Do you need to predeclare Carp::croak?)
# Failed test 'Authorized use'
# at t/test.t line 22.
# got: 'syntax error at
/disk1/src/PERL/.cpanplus/5.9.5/build/Readonly-XS-1.04/blib/lib/Readonly/XS.pm
line 36, near "Carp::croak "Readonly::XS is not a standalone module. You
should not use it directly.""
# BEGIN not safe after errors--compilation aborted at
/disk1/src/PERL/.cpanplus/5.9.5/build/Readonly-XS-1.04/blib/lib/Readonly/XS.pm
line 38.
# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at (eval 5) line 2.
# '
# expected: ''
# Failed test 'is_sv_readonly loaded'
# at t/test.t line 26.
# Failed test 'make_sv_readonly loaded'
# at t/test.t line 27.
Undefined subroutine &Readonly::is_sv_readonly called at t/test.t line 30.
# Looks like you planned 10 tests but only ran 4.
# Looks like you failed 4 tests of 4 run.
# Looks like your test died just after 4.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/10 subtests
Test Summary Report
-------------------
t/test.t (Wstat: 65280 Tests: 4 Failed: 4)
Failed test number(s): 1-4
Non-zero exit status: 255
Parse errors: Bad plan. You planned 10 tests but ran 4.
Files=1, Tests=4, 0 wallclock secs ( 0.01 usr 0.05 sys + 0.07 cusr
0.03 csys = 0.16 CPU)
Result: FAIL
Failed 1/1 test programs. 4/4 subtests failed.
--
- - Martin 'Kingpin' Thurn