Bee <[EMAIL PROTECTED]> asked: > Is that if I throw the array to another sub also means the > array would be copied and then pass to the target sub ? > while reference is using the same data in system memory?
Yes. Use references, unless you need to munge the array in the sub you're calling. HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>