Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Think about Loose Coupling
 
PerlMonks  

davido's scratchpad

by davido (Bishop)
on Jun 01, 2004 at 17:18 UTC ( #358273=scratchpad: print w/ replies, xml ) Need Help??

package A; sub new { my $class = shift; print 'Hello from ' . $class . "\n"; return bless {}, $class; } sub DESTROY { my $self = shift; print "A::DESTROY called from " . ref($self) . "\n"; } package B; our @ISA = qw( A ); sub DESTROY { my $self = shift; print "B::DESTROY called from " . ref($self) . "\n"; return $self->SUPER::DESTROY; } package main; my $this = A->new(); my $that = B->new();
Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (20)
As of 2013-06-19 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (664 votes), past polls