Newer versions of Exporter recognize the first point and allow you to do
package MyTest; use strict; use warnings; BEGIN { our @EXPORT_OK = qw( testroutine ); } use Exporter qw( import ); # Rest of the code here ...
The BEGIN is there to address the second point.
In reply to Re^3: Use, Exporter, I'm Dizzy.
by ikegami
in thread Use, Exporter, I'm Dizzy.
by logie17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |