On Tue, 9 Nov 2004 09:28:10 -0000, Murphy, Ged (Bolton) <[EMAIL PROTECTED]> wrote:

Ajey Kulkarni wrote:

Hmmm...Whenever you pass array AND a variable with array being first, the subroutine takes the variable and appends to array.

Make sure you pass var first,followed by array. There is no need to
complicate with the array ref IMHO.

What if you want to pass 2 or more arrays? Will the proceeding arrays be appended to the previous?

Is this a case when you must pass by reference?

Yes, I have asked the same question. Please refer to this link:

http://groups.google.com/groups?hl=en&lr=&threadm=opscakjbrtq79b6q%40mailhost.i2r.a-star.edu.sg&rnum=20&prev=/groups%3Fq%3Dedward%2Bwijaya%26start%3D10%26hl%3Den%26lr%3D%26group%3Dperl.beginners.*%26selm%3Dopscakjbrtq79b6q%2540mailhost.i2r.a-star.edu.sg%26rnum%3D20


Regards, Edward WIJAYA SINGAPORE

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to