Similar problem here. I'm missing 'new' in my new Moose class. Unfortunately in my case require 'Moose::Object.pm' does not work:
Can't locate Moose::Object.pm in @INC (@INC contains: ... c:/xampp/perl/site/lib c:/xampp/perl/lib .)Any other ideas?
Without the require I get:The offending code looks like this:Wolfgang 14:07:08 /cygdrive/d/projekte/superclix/Bender/trunk $perl script/test.pl D:/projekte/superclix/dmklib/trunk/lib D:/projekte/superclix/Bender/trunk/lib c:/xampp/perl/site/lib c:/xampp/perl/lib . Can't locate object method "new" via package "Bender::Util::Check" (pe +rhaps you forgot to load "Bender::Util::Check"?) at script/t est.pl line 6.
WolfgangBEGIN{ print join("\n",@INC,''); } use Bender::Util::Check; my $check=new Bender::Util::Check();
In reply to Re^8: Class::MOP won't load a class!!
by Wolfgang
in thread Class::MOP won't load a class!!
by MarkovChain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |