* Tomas Doran <bobtf...@bobtfish.net> [2011-08-28T09:30:36]
> But if you really want to, there's a role for this already:
> 
> http://search.cpan.org/~logie/MooseX-Role-MissingMethodUtils-0.02/lib/MooseX/Role/MissingMethodUtils.pm
> 

That role is beyond utterly totally broken.  Among the many ways, this is my
favorite:

    use 5.14.1;
    use lib 'lib';

    package Class {
        use Moose;
        with 'MooseX::Role::MissingMethodUtils';
    }

    Class->new;

...results in...

    Deep recursion on subroutine "MooseX::Role::MissingMethodUtils::can" at 
lib/MooseX/Role/MissingMethodUtils.pm line 33.

The tests miss this and a few other good ones.

-- 
rjbs

Reply via email to