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.
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: Too many modules
by tye (Sage) on Dec 13, 2001 at 09:06 UTC | |
by jryan (Vicar) on Dec 13, 2001 at 20:02 UTC |
In Section
Seekers of Perl Wisdom