Skip Menu |

This queue is for tickets about the Google-Search CPAN distribution.

Report information
The Basics
Id: 49083
Status: resolved
Priority: 0/
Queue: Google-Search

People
Owner: Nobody in particular
Requestors: naiman [...] math.jct.ac.il
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Subject: Re: [rt.cpan.org #49083] overwriting a locally defined method ... (?)
Date: Thu, 27 Aug 2009 20:35:36 -0500 (CDT)
To: Aaron Naiman via RT <bug-Moose [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Thu, 27 Aug 2009, Aaron Naiman via RT wrote: Show quoted text
> 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?
This isn't a Moose bug, you're getting a warning from Moose about a potential mistake. If you want to, file this as a bug against Google::Search, since that's where it needs to be fixed. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
Show quoted text
> If you want to, file this as a bug against Google::Search, since that's > where it needs to be fixed.
I moved it myself.
Subject: Re: [rt.cpan.org #49083] overwriting a locally defined method ... (?)
Date: Fri, 28 Aug 2009 03:56:16 +0200
To: bug-Google-Search [...] rt.cpan.org
From: Aaron Naiman <naiman [...] math.jct.ac.il>
Dear Dave, Thanx for the lightening-speed response. Show quoted text
> 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?
> > This isn't a Moose bug, you're getting a warning from Moose about a > potential mistake. > > If you want to, file this as a bug against Google::Search, since that's > where it needs to be fixed.
I was not sure where the potential mistake was, so I submitted to both bug lists simultaneously. Thanx again, Aaron -- Aaron ("Aharon") Naiman Jerusalem College of Technology--Machon Lev naiman@math.jct.ac.il http://math.jct.ac.il/~naiman