in reply to Do I have to export all variables and functions from my PM file?
No, to the contrary:
You shouldn't because you are needlessly polluting the namespace.
Furthermore it's normally better not to export on default, but to populate @EXPORT_OK instead.
And exporting variables is considered bad practice, only export subs.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|