Perl-Sensitive Sunglasses | |
PerlMonks |
Re: To & or not to & ?by tilly (Archbishop) |
on Nov 12, 2004 at 01:51 UTC ( [id://407241]=note: print w/replies, xml ) | Need Help?? |
There is no official Perl style. Currently I leave the & off and always put parens in so that I can keep the same style in several languages. YMMV. However as others have said, if you're using functions from package A in package B, I'd strongly recommend using Exporter in package A so that package B can explicitly import the functions that it uses.
In Section
Seekers of Perl Wisdom
|
|