- or download this
$self->Session::init (@args);
- or download this
my $obj=new Some::Module; # ok but not so cool
my $obj=Some::Module->new(); # TWTDI
- or download this
package Session;
#....
...
$self->init(@_); #no need to copy @_
return $self;
};
- or download this
package SessionManager;
#....
...
print "New session has ID of ".$i;
return $session;
}