Data::Object::Role::Proxyable

Data-Object Proxyable Role

use Data::Object::Class;

with 'Data::Object::Role::Proxyable';

sub BUILDPROXY {
  my ($class, $method, @args) = @_;

  return if $method eq 'execute'; # die with method missing error

  return sub { time }; # process method call
}

This role provides a wrapper around the AUTOLOAD routine which processes calls to routines which don't exist.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 8:

Unknown directive: =name

Around line 12:

Unknown directive: =abstract

Around line 16:

Unknown directive: =synopsis

Around line 30:

Unknown directive: =description