![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Note on usage of ours variables and a questionby afoken (Canon) |
on Nov 20, 2019 at 20:39 UTC ( #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 Exporter#Exporting-Without-Inheriting-from-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
|
|