in reply to Real Basic Perl OOP Question
you are not getting the benefits of the bless(). Try this instead:bless $objref, $class
my $self = bless $objref, $class; return $self;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Real Basic Perl OOP Question
by fishbot_v2 (Chaplain) on Jun 21, 2005 at 23:08 UTC | |
by o2bwise (Scribe) on Jun 21, 2005 at 23:45 UTC | |
by o2bwise (Scribe) on Jun 21, 2005 at 23:48 UTC | |
|
Re^2: Real Basic Perl OOP Question
by o2bwise (Scribe) on Jun 21, 2005 at 23:42 UTC |