Gapp::Action::Registry - Registry of Gapp::Action objects
Returns the Gapp::Action in the regisry with the given name.
Returns a list all of the Gapp::Action objects in the registry.
Returns a list of all the action names in the registry.
Add an action to the registry. Takes either a Gapp::Action object or a HashRef. If a HashRef is supplied, the values will be used to create a new Gapp::Action object.
HashRef
Returns true if an action with the given $name exists in the registry, false otherwise.
true
$name
false
Calls perform on the action with the given name, passing in args as parameters.
perform
args
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2011-2012 Jeffrey Ray Hallock. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Gapp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gapp
CPAN shell
perl -MCPAN -e shell install Gapp
For more information on module installation, please visit the detailed CPAN module installation guide.