EO::Method - a class that represents methods
use EO::Method; $method = EO::Method->new(); $method->name( 'foo' ); my $name = $method->name; $method->reference( sub {} ); my $ref = $method->reference; my $results = $method->call( @args ); $method->new_with_reference( 'foo' => sub {} );
EO::Method provides a representation of methods in a system. In general objects of this class will be created by instances of EO::Class.
EO::Method inherits from the EO class.
Returns an EO::Method object that has the name NAME and the reference CODEREF
Gets and sets the methods name
Gets and sets the code that the method uses
Calls the references with the arguments specified by LIST.
EO::Class
James A. Duncan <jduncan@fotango.com>
Copyright 2003 Fotango Ltd. All Rights Reserved.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install EO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EO
CPAN shell
perl -MCPAN -e shell install EO
For more information on module installation, please visit the detailed CPAN module installation guide.