thoglette has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (object-oriented programming)
By default (5.004_02) adding
use strict;
causes the usual inheritance line of
@ISA = ("InheritedClass");
to fail for not being fully declared.
Trying local and my don't work - when running Perl complains Can't locate object method "new" via package
use strict;
causes the usual inheritance line of
@ISA = ("InheritedClass");
to fail for not being fully declared.
Trying local and my don't work - when running Perl complains Can't locate object method "new" via package
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I use @ISA and use strict at the same time?⭐
by Vynce (Friar) on Jun 05, 2001 at 13:45 UTC | |
Re: How do I use @ISA and use strict at the same time?⭐
by davorg (Chancellor) on Jun 05, 2001 at 12:48 UTC | |
Re: How do I use @ISA and use strict at the same time?⭐
by merlyn (Sage) on Jun 05, 2001 at 18:38 UTC | |
Re: How do I use @ISA and use strict at the same time?
by Anonymous Monk on Jun 05, 2001 at 18:05 UTC | |
by Anonymous Monk on Jun 05, 2001 at 19:10 UTC | |
Re: How do I use @ISA and use strict at the same time?
by cpousset (Initiate) on Jul 12, 2001 at 18:53 UTC | |
Re: How do I use @ISA and use strict at the same time?
by Narveson (Chaplain) on Jan 23, 2008 at 16:49 UTC |
Back to
Seekers of Perl Wisdom