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
In reply to Re: Do I have to export all variables and functions from my PM file?
by LanX
in thread Do I have to export all variables and functions from my PM file?
by SergioQ
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |