in reply to Self creating OO Module field accessors...
Avoiding direct eye-contact with your question momentarily, I point out that
is very bad. It makes subclassing BigThing very difficult.package BigThing; sub new { shift; bless $self, "BigThing";
The constructor is passed the class name; it may as well use it:
package BigThing; sub new { my $class = shift; bless $self, $class;
|
|---|