NAME

MooseX::Role::MissingMethodUtils - Getting rid of boilerplate AUTOLOAD stuff

VERSION

version 0.001

SYNOPSIS

package Foo;
use Moose;

with 'MooseX::Role::MissingMethodUtils';

sub method_missing {
    my ($self, $method_name, @params) = @_;

    if ( $method_name eq 'do_this' ) {
        Delegator->do_this; 
    }
}

DESCRIPTION

This role will now introduce a method named method_missing. This method is called via AUTOLOAD as a last resort in the calling chain.

Three parameters will be passed in to help with delegation: ref to self,method name, and parameters.

METHODS

AUTOLOAD

Just does all the boilerplate autoloading stuff.

TODO

Add some other useful methods and filter capabilities.

AUTHOR

Logan Bell <loganbell@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Logan Bell.

This is free software, licensed under:

The (three-clause) BSD License