[Catalyst-dev] Moose Port: Class::C3 vs Moose Method Modifiers
Jonathan Rockway
jon at jrock.us
Mon May 26 17:41:01 BST 2008
* On Sun, May 25 2008, Cory Watson wrote:
> On Sun, May 25, 2008 at 3:44 AM, Marcus Ramberg <marcus at nordaaker.com> wrote:
>
>
> I would like us to use method modifiers as well. This is one of the reasons
> to switch to Moose, imo.
>
>
> +1
>
> NEXT has always confused me. I'm at least under the impression that I grok
> Moose's modifiers. :)
It helps if you read the NEXT source code:
my @possibilities = ...;
sub goto_next_method {
my $next_method = $possibilities[int rand @possibilities];
@_ = ($self, @args);
goto $next_method;
}
OK, maybe I made that up.
Regards,
Jonathan Rockway
--
print just => another => perl => hacker => if $,=$"
More information about the Catalyst-dev
mailing list