Subject: | overwriting a locally defined method ... (?) |
Date: | Fri, 28 Aug 2009 03:28:21 +0200 |
To: | bug-Moose [...] rt.cpan.org, bug-Google-Search [...] rt.cpan.org |
From: | Aaron Naiman <naiman [...] math.jct.ac.il> |
Dear Perl Gurus, (<-- I know, flattery will get me everywhere! ;-) )
Hi. I have been using Google::Search (0.022) and enjoying -- thanx!
Of course, it uses Moose, and while I was at Moose (0.77) all was fine.
I moved to a new hosting service, so I had to re-install some modules, and
Moose (0.88) was installed.
When I compiled one of my files, although it reported that the syntax was
OK, prior to that it spewed out all of the stuff below.
Can anyone make any sense of it?
adTHANXvance!
ATB,
Aaron
--
Aaron ("Aharon") Naiman
Jerusalem College of Technology--Machon Lev
naiman@math.jct.ac.il
http://math.jct.ac.il/~naiman
---------------------------------------------------------------------------------------------------------------------------
You are overwriting a locally defined method (reason) with an accessor at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Moose/Meta/Attribute.pm
line 587
Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x1778120)',
'reader', 'reason', 'undef') called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/x86_64-linux/Class/MOP/Attribute.pm
line 409
Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x1778120)')
called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Moose/Meta/Attribute.pm
line 558
Moose::Meta::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x1778120)')
called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/x86_64-linux/Class/MOP/Class.pm
line 908
eval {...} called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/x86_64-linux/Class/MOP/Class.pm
line 908
Class::MOP::Class::add_attribute('Moose::Meta::Class=HASH(0x1755fe0)',
'Moose::Meta::Attribute=HASH(0x1778120)') called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Moose/Meta/Class.pm line
250
Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x1755fe0)',
'reason', 'required', 1, 'isa', 'Str', 'default', 'CODE(0x175b5e0)',
'definition_context', ...) called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Moose.pm line 68
Moose::has('Google::Search::Error', 'reason', 'is', 'ro', 'isa',
'Str', 'required', 1, 'lazy', ...) called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Moose/Exporter.pm line
320
Moose::has('reason', 'is', 'ro', 'isa', 'Str', 'required', 1,
'lazy', 1, ...) called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 19
require Google/Search/Error.pm called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Response.pm
line 6
Google::Search::Response::BEGIN() called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0
eval {...} called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0
require Google/Search/Response.pm called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search.pm line 62
Google::Search::BEGIN() called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0
eval {...} called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0
require Google/Search.pm called at results.cgi line 982
main::BEGIN() called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0
eval {...} called at
/home3/guestwho/perl/usr/lib/perl5/site_perl/5.8.8/Google/Search/Error.pm
line 0