Hey guys,
I updated everything that I could in CPAN and somehow it destroyed my moose
install. This is what happens when I try to run my Cat app:
Use of uninitialized value in goto at
/usr/local/share/perl/5.10.0/Moose/Meta/Attribute.pm line 74.
Could not create the 'reader' method for type_constraint because : goto must
have label at /usr/local/share/perl/5.10.0/Moose/Meta/Attribute.pm line 74.
at /usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm line 390
Class::MOP::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x94eccd0)',
'reader', 'type_constraint', undef) called at
/usr/local/lib/perl/5.10.0/Class/MOP/Attribute.pm line 405
Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x94eccd0)')
called at /usr/local/share/perl/5.10.0/Moose/Meta/Attribute.pm line 538
Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x94eccd0)')
called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm line 864
eval {...} called at /usr/local/lib/perl/5.10.0/Class/MOP/Class.pm
line 864
Class::MOP::Class::add_attribute('Class::MOP::Class=HASH(0x93adc68)',
'Moose::Meta::Attribute=HASH(0x94eccd0)') called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 20
require Moose/Meta/TypeCoercion.pm called at
/usr/local/share/perl/5.10.0/Moose.pm line 19
Moose::BEGIN() called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
eval {...} called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
require Moose.pm called at
/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm line 3
Catalyst::Engine::HTTP::BEGIN() called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
eval {...} called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
require Catalyst/Engine/HTTP.pm called at script/glimmer_server.pl
line 6
main::BEGIN() called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
eval {...} called at
/usr/local/share/perl/5.10.0/Moose/Meta/TypeCoercion.pm line 0
Compilation failed in require at /usr/local/share/perl/5.10.0/Moose.pm line
19.
BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/Moose.pm
line 19.
Compilation failed in require at
/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm line 3.
BEGIN failed--compilation aborted at
/usr/local/share/perl/5.10.0/Catalyst/Engine/HTTP.pm line 3.
Compilation failed in require at script/glimmer_server.pl line 6.
BEGIN failed--compilation aborted at script/glimmer_server.pl line 7.
I tried to reinstall both Moose and Class::MOP. Class::MOP reinstalled
fine, but reinstalling Moose gives the same errors as this. Any help guys?
--
fREW Schmidt
http://blog.afoolishmanifesto.com