Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

jaa's scratchpad

by jaa (Friar)
on Jun 02, 2004 at 17:23 UTC ( [id://359583]=scratchpad: print w/replies, xml ) Need Help??

Constructor with inheritance
#--------------------------------------- package Parent; 1; sub new { my $class = shift; my $self = {}; _initialise($self,@_); return $self; } sub _initialise { my $self = shift; print "Parent._initiliase(@_)\n"; } #--------------------------------------- package Child; 1; use base qw(Parent); sub new { my $class = shift; my $self = $class->SUPER::new(@_); _initialise($self,@_); return $self; } sub _initialise { my $self = shift; print "Child._initiliase(@_)\n"; }
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2025-06-21 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.