![]() |
![]()
| ![]() |
![]()
NAMEGungho::Base - Base Class For Various Gungho Objects SYNOPSISpackage Gungho::Something; use base qw(Gungho::Base); MMETHODSnew(\%config)Creates a new object instance. Takes a config hashref. setup()Sets up the object. Use it like this in your object: sub setup { my $self = shift; # do custom setup $self->next::method(@_); } mk_virtual_methodsCreates virtual methods (methods that must be overridden). These methods will die() unless you provide an implementation in your subclass
|