Hi,

I have a subroutine that take 2 arrays as argument.
I dont' know how to construct it?

sub mysub{

    my (@array1, @array2) = @_;   # is this correct? How do I do it?

     #process @array1
     #process @array2 etc

     return @array3;
}

Please advice.

Thanks so much for your time.

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