Gungho::Base - Base Class For Various Gungho Objects
package Gungho::Something; use base qw(Gungho::Base);
Creates a new object instance. Takes a config hashref.
Sets up the object. Use it like this in your object:
sub setup { my $self = shift; # do custom setup $self->next::method(@_); }
Creates virtual methods (methods that must be overridden). These methods will die() unless you provide an implementation in your subclass
die()
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.