The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

UNIVERSAL::canAUTOLOAD - installs a UNIVERSAL::can that respects AUTOLOAD subs

SYNOPSIS

 use UNIVERSAL::canAUTOLOAD;

 package MyModule;

 sub DESTROY {}
 sub AUTOLOAD {
     our $AUTOLOAD;
     print "in AUTOLOAD for $AUTOLOAD\n";
 }

 my $object = bless {}, 'MyModule';
 my $method = $object->can( 'potato' ); # returns a true value
 $object->$method();                    # call the AUTOLOADed potato method

DEPENDENCIES

This module has external dependencies on the following modules:

 Class::ISA
 Test::More

INSTALLATION

 perl Build.PL
 perl Build test

and if all goes well

 perl Build install

HISTORY

What changed over the last 3 revisions

0.01 Monday 10th November, 2003
        Initial release
=back

AUTHOR

Richard Clamp <richardc@unixbeard.net> original need and anticipated documentation from Mark Fowler.

COPYRIGHT

Copyright (C) 2003 Richard Clamp. All Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

"can" in UNIVERSAL

1 POD Error

The following errors were encountered while parsing the POD:

Around line 51:

You forgot a '=back' before '=head1'