The Exporter POD also includes (in the Good Practices section no less):
When using Exporter with the standard strict and warnings pragmas, the our keyword is needed to declare the package variables @EXPORT_OK, @EXPORT, @ISA, etc.
our @ISA = qw(Exporter); our @EXPORT_OK = qw(munge frobnicate);
In reply to Re^6: Exporter. Correct way to override import? (archaic perldoc)
by hippo
in thread Exporter. Correct way to override import?
by Veltro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |