wst has asked for the wisdom of the Perl Monks concerning the following question:
package MyAppMod; use strict; # this part I am not sure. use AppMod; # or do I use this line? our @ISA=qw(AppMod); #and then do I still say: my $am = new AppMod; # and my @ch_p = change_print(); # change_print() exists in AppMod too. sub change_print { my @output; # do stuff (which calls functions and global variable from AppMod) return (@output); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: overridden and inheritance
by atemon (Chaplain) on Aug 22, 2007 at 04:47 UTC | |
|
Re: overridden and inheritance
by GrandFather (Saint) on Aug 22, 2007 at 05:06 UTC | |
by chromatic (Archbishop) on Aug 22, 2007 at 05:15 UTC | |
by wst (Acolyte) on Aug 22, 2007 at 13:34 UTC |