in reply to Re^2: "use base" or @ISA
in thread "use base" or @ISA
My module does NOT have an ISA relationship with Exporter!
Really? So, how would you explain the relationship? Your module exports; it is an exporter.
I would say that the module "delegates to Exporter", or "uses Exporter".
Delegation and composition are perfectly valid implementation mechanisms, and there's no reason to view inheritance as the one true way of sharing functionality.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: "use base" or @ISA
by TimToady (Parson) on Aug 18, 2004 at 03:02 UTC | |
by tye (Sage) on Aug 18, 2004 at 03:53 UTC |