Perl: the Markov chain saw | |
PerlMonks |
Module Loading via Exporter doubt.by murugu (Curate) |
on Jul 11, 2005 at 13:17 UTC ( [id://473917]=perlquestion: print w/replies, xml ) | Need Help?? |
murugu has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks! While writing modules(with out OOP concepts) what is the need for
Why do we need to inherit Exporter in our current package? Can we use "use Exporter" instead of both the lines above? Without "Import" how will be the symbols imported? By writing the 2 lines above does the symbols present in the current package will be automagically exported to the program where we use this package? If so how? Thanks in advance. Regards,
Back to
Seekers of Perl Wisdom
|
|