To me, the BEGIN block around the Exporter stuff seems extraneous. What danger is this construction meant to avoid?package Something; BEGIN { use Exporter (); use vars qw($VERSION @ISA @EXPORT_OK); $VERSION = '0.05'; @ISA = qw(Exporter); @EXPORT_OK = qw(&errstr); }
Be well,
rir
In reply to BEGIN { use Exporter; ... by rir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |