Re: passing an array to subroutines

2006-07-21 Thread Mumia W.
On 07/21/2006 03:14 PM, [EMAIL PROTECTED] wrote: How do I pass an array to a subroutine in a manner that the array is entirely contained in one element of @_, instead of having each element mapped to elements of @_. for example, inside of the subroutine, I'd like to say @z = @_[0]; and have @

Re: passing an array to subroutines

2006-07-21 Thread Xavier Mas i Ramón
A Divendres 21 Juliol 2006 22:14, [EMAIL PROTECTED] va escriure: > How do I pass an array to a subroutine in a manner that the array is > entirely contained in one element of @_, instead of having each element > mapped to elements of @_. > > for example, inside of the subroutine, I'd like to say >

Re: passing an array to subroutines

2006-07-21 Thread Joshua Colson
On Fri, 2006-07-21 at 16:14 -0400, [EMAIL PROTECTED] wrote: > How do I pass an array to a subroutine in a manner that the array is entirely > contained in one element of @_, instead of having each element mapped to > elements of @_. > > for example, inside of the subroutine, I'd like to say > @

passing an array to subroutines

2006-07-21 Thread Jhst463
How do I pass an array to a subroutine in a manner that the array is entirely contained in one element of @_, instead of having each element mapped to elements of @_. for example, inside of the subroutine, I'd like to say @z = @_[0]; and have @z refer to the entire array I passed to the subrout