Subject: | UNIVERSAL does not export anything |
The module does not work anymore with perl 5.21.x (note that the next stable perl will be released in a few weeks):
Output from './Build test':
# Failed test 'use User::Simple;'
# at t/User-Simple.t line 14.
# Tried to use 'User::Simple'.
# Error: UNIVERSAL does not export anything at /tmpfs/.cpan-build/User-Simple-1.45-1IaYCY/blib/lib/User/Simple.pm line 173.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/User-Simple-1.45-1IaYCY/blib/lib/User/Simple.pm line 173.
# Compilation failed in require at t/User-Simple.t line 14.
# BEGIN failed--compilation aborted at t/User-Simple.t line 14.
# Failed test 'use User::Simple::Admin;'
# at t/User-Simple.t line 14.
# Tried to use 'User::Simple::Admin'.
# Error: UNIVERSAL does not export anything at /tmpfs/.cpan-build/User-Simple-1.45-1IaYCY/blib/lib/User/Simple/Admin.pm line 212.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build/User-Simple-1.45-1IaYCY/blib/lib/User/Simple/Admin.pm line 212.
# Compilation failed in require at t/User-Simple.t line 14.
# BEGIN failed--compilation aborted at t/User-Simple.t line 14.
Can't locate object method "create_plain_db_structure" via package "User::Simple::Admin" at t/User-Simple.t line 35.
# Looks like you planned 40 tests but ran 2.
# Looks like you failed 2 tests of 2 run.
# Looks like your test exited with 2 just after 2.
t/User-Simple.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 40/40 subtests
t/pod.t .......... ok
Test Summary Report
-------------------
t/User-Simple.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Parse errors: Bad plan. You planned 40 tests but ran 2.
Files=2, Tests=4, 1 wallclock secs ( 0.01 usr 0.01 sys + 0.10 cusr 0.02 csys = 0.14 CPU)
Result: FAIL
Failed 1/2 test programs. 2/4 subtests failed.