in reply to Re: Inheritance
in thread Inheritance
This is not related to debugging.
The difference is that subs and vars included in @EXPORT will always be exported to the modules use'ing the module, while on the other hand, things included on @EXPORT_OK will only be exported when explicitely requested on the use statement.
The problem with @EXPORT is namespace pollution that leads to name collisions when exported functions are added in new versions of some module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Inheritance
by tilly (Archbishop) on Jun 04, 2005 at 03:11 UTC | |
|
Re^3: Inheritance
by fishbot_v2 (Chaplain) on Jun 04, 2005 at 03:17 UTC |