in reply to use base 'XYZ' and exporting
This is trivial to break:
require MyOOModule; use base 'MyOOModule';
Or just use the module in more than one place. Only the first place will have the potential to do this auto-import.
It'd make more sense to change your import() to be able to set the caller's inheritance:
use MyOOModule qw( -ISA ... );
Or however you want to name the option.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use base 'XYZ' and exporting (broken)
by japhy (Canon) on May 29, 2005 at 16:59 UTC |