in reply to Revisiting strict and @ISA
Something that basically no-one does but practically everyone *should* do is wrap their @ISA assignments in BEGIN blocks.
Change that to:
And you should be just fine.package Test1; use vars qw(@ISA); BEGIN { @ISA = qw(Test); }
------------ :Wq Not an editor command: Wq
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Revisiting strict and @ISA
by diotalevi (Canon) on Oct 29, 2004 at 21:47 UTC | |
Re^2: Revisiting strict and @ISA
by tilly (Archbishop) on Oct 30, 2004 at 17:15 UTC |
In Section
Seekers of Perl Wisdom