XP is just a number | |
PerlMonks |
Re: "use base" or @ISAby davido (Cardinal) |
on Aug 17, 2004 at 15:06 UTC ( [id://383698]=note: print w/replies, xml ) | Need Help?? |
Not exactly the same thing. @ISA = qw/Exporter/; doesn't perform a 'require Exporter;'. From the base POD: use base; "is rougly similar to":
I like use base; also because it runs under strictures without explicitly calling "use vars qw/@ISA/;", or declaring "our @ISA...". ...just a minor improvement, IMHO, but I prefer to use it.
Dave
In Section
Seekers of Perl Wisdom
|
|