Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Mouse CPAN distribution.

Report information
The Basics
Id: 77222
Status: open
Priority: 0/
Queue: Mouse

People
Owner: Nobody in particular
Requestors: geistteufel [...] yahoo.fr
Cc:
AdminCc:

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



Subject: Failure chain method with Mouse
Date: Tue, 15 May 2012 18:17:06 +0200
To: bug-mouse [...] rt.cpan.org
From: Geistteufel <geistteufel [...] yahoo.fr>
Download (untitled) / with headers
text/plain 462b
Hi, I have write MooX::Options that give easy Getopt::Long::Descriptive to package perl using Mo / Moo / Mouse / Moose or anything else. I have failure to chain method with only Mouse, https://github.com/geistteufel/MooX-Options/blob/better_compat_with_old_perl/failure/failure-with-mouse.pl I have try 3 methods of chain, and the better for me is the only one who fail with Mouse. Is they something I need to do to make it work ? see line 39 / 40. Thanks
Download (untitled) / with headers
text/plain 689b
Show quoted text
Options/blob/better_compat_with_old_perl/failure/failure-with-mouse.pl This link is not available. On 2012-5月-15 火 12:17:16, Geistteufel wrote: Show quoted text
> Hi, I have write MooX::Options that give easy > Getopt::Long::Descriptive to > package perl using Mo / Moo / Mouse / Moose or anything else. > > I have failure to chain method with only Mouse, > > https://github.com/geistteufel/MooX- > Options/blob/better_compat_with_old_perl/failure/failure-with-mouse.pl > > I have try 3 methods of chain, and the better for me is the only one > who > fail with Mouse. > > Is they something I need to do to make it work ? > > see line 39 / 40. > > Thanks
Download (untitled) / with headers
text/plain 902b
The link is here now : https://github.com/celogeek/MooX-Options/blob/master/failure/failure-with-mouse.pl Le Ven 29 Juin 2012 01:21:55, TOKUHIROM a écrit : Show quoted text
> Options/blob/better_compat_with_old_perl/failure/failure-with-mouse.pl > This link is not available. > > On 2012-5月-15 火 12:17:16, Geistteufel wrote:
> > Hi, I have write MooX::Options that give easy > > Getopt::Long::Descriptive to > > package perl using Mo / Moo / Mouse / Moose or anything else. > > > > I have failure to chain method with only Mouse, > > > > https://github.com/geistteufel/MooX- > > Options/blob/better_compat_with_old_perl/failure/failure-with-mouse.pl > > > > I have try 3 methods of chain, and the better for me is the only one > > who > > fail with Mouse. > > > > Is they something I need to do to make it work ? > > > > see line 39 / 40. > > > > Thanks
> >
Download (untitled) / with headers
text/plain 242b
Don't use has() for suck a usage. These sugars are not designed to call out of the package. Use MOP (Mouse::Meta::Class->initialize($class)->add_attribute(...)) instead. It's provided for you. Regards, -- Goro Fuji (gfx) GFUJI at CPAN.org
Download (untitled) / with headers
text/plain 242b
Don't use has() for suck a usage. These sugars are not designed to call out of the package. Use MOP (Mouse::Meta::Class->initialize($class)->add_attribute(...)) instead. It's provided for you. Regards, -- Goro Fuji (gfx) GFUJI at CPAN.org
Download (untitled) / with headers
text/plain 492b
Le Ven 29 Juin 2012 22:54:04, GFUJI a écrit : Show quoted text
> Don't use has() for suck a usage. These sugars are not designed to > call out of the package. > > Use MOP (Mouse::Meta::Class->initialize($class)->add_attribute(...)) > instead. It's provided for > you. > > Regards,
Well, the goal of MooX::Options is to not be dependant of a specific object model. Actually it work with Mo Moo Mouse Moose, with exactly the same code. I just want explanation but well, don't bother. Thanks for support.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.