in reply to Re: Too many modules
in thread Module breaks when declaring variables
And to fix the line, if upgrading to perl 5.6.1 is an issue, you can change this:
to this:our(@ISA, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD) = ();
or this:use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK $AUTOLOAD);
no strict; (@ISA, %EXPORT_TAGS, @EXPORT_OK, $AUTOLOAD) = (); # You need to do all of your work with these variables here # Its best not to use this method. use strict;
Update:Fixed examples, thanks to reply from tye.
In Section
Seekers of Perl Wisdom