Subject: | Minimum UNIVERSAL::Object version? |
Some of my smokers show the following failures:
# Failed test 'use MOP::Class;'
# at t/001-examples/001-point.t line 10.
# Tried to use 'MOP::Class'.
# Error: Can't call method "can" on unblessed reference at /opt/perl-5.25.8/lib/site_perl/5.25.8/UNIVERSAL/Object.pm line 20.
# UNITCHECK failed--call queue aborted.
# Compilation failed in require at t/001-examples/001-point.t line 10.
# BEGIN failed--compilation aborted at t/001-examples/001-point.t line 10.
Can't locate object method "name" via package "MOP::Class" at /tmpfs/.cpan-build-cpansand/2017011221/MOP-0.02-4/blib/lib/MOP/Class.pm line 51.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 4.
t/001-examples/001-point.t ...........................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/4 subtests
(etc.)
Probably UNIVERSAL::Object is too old here --- 0.04 is at least OK.