"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
@EXPORT instead of @EXPORT_OK, which works, but which will make debugging much harder
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. In reply to Re^2: Inheritance
by salva
|
|