Commit b5c4733e authored by Nigel Kukard's avatar Nigel Kukard

Added init function that can be overridden

parent 6c470839
......@@ -100,6 +100,26 @@ sub new
=head2 init
sub init
{
my $self = shift;
$self->{'_myinternal'} = "hello";
}
The C<init> method is overridden in child objects to perform initialization tasks;
=cut
# Object initialization
sub init
{
}
# Autoload function to automagically handle some common things
our $AUTOLOAD;
sub AUTOLOAD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment