The other part is whether or not you should pass references. You probably shouldn't when passing scalars, unless they're huge, but all other types are safer and more efficient when passed as references. See the various documentation sources on references for more explanation on that.
In reply to Re: Passing references to a sub.
by perrin
in thread Passing references to a sub.
by DigitalKitty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |