in reply to Re: Note on usage of ours variables and a question
in thread Note on usage of ours variables and a question
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:
use Exporter qw( import );
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". ;-)
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