We don't bite newbies here... much | |
PerlMonks |
Re^2: Note on usage of ours variables and a questionby afoken (Chancellor) |
on Nov 20, 2019 at 20:39 UTC ( [id://11108951]=note: print w/replies, xml ) | Need Help?? |
use parent 'Exporter'; No need to inherit from Exporter, importing its import() method is possible since Perl 5.8.3 (2004-01-14), and it is almost always sufficient:
See also Re: Advice on style, Re^2: Advice on style, and of course Exporting-Without-Inheriting-from-Exporter of Exporter. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|