Subject: | Prototype mismatch: sub Moo::_Utils::_in_global_destruction () vs none |
ENVIRONMENT
Show quoted text
> uname -a
SunOS [node_name] 5.8 Generic_Virtual sun4u sparc SUNW,SPARC-Enterprise
Solaris
Show quoted text> perl -v
This is perl 5, version 12, subversion 2 (v5.12.2) built for sun4-
solaris
PROBLEM
'use' of Moo fails compile in Moo::_Utils, as below.
Show quoted text2> perl -e 'use Moo'
Prototype mismatch: sub Moo::_Utils::_in_global_destruction () vs none
at /opt/tools/tools/perl/5.12.2/lib/site_perl/5.12.2/Moo/_Utils.pm line
109.
Compilation failed in require
at /opt/tools/tools/perl/5.12.2/lib/site_perl/5.12.2/Moo.pm line 4.
BEGIN failed--compilation aborted
at /opt/tools/tools/perl/5.12.2/lib/site_perl/5.12.2/Moo.pm line 4.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.