Re: how to create a serial of array names in perl

2006-08-17 Thread chen li
--- Joshua Colson <[EMAIL PROTECTED]> wrote: > On Thu, 2006-08-17 at 14:21 -0700, chen li wrote: > > Dear all, > > > > Is it possible to create a serial of array name > using > > a loop, such as @array0,@array1, @array2, ..., to > > @array(n-1)? > > Yes, it is possible. > > Why do you want to

RE: how to create a serial of array names in perl

2006-08-17 Thread Timothy Johnson
Yes, it is possible, but it would be ill-advised. I think what you are really looking for is an array of arrays. Check out 'perldoc perllol' (list of lists) for a description of how to do this. It's a good technique to learn anyway, since it opens the doors to more complex data structures. --

Re: how to create a serial of array names in perl

2006-08-17 Thread Joshua Colson
On Thu, 2006-08-17 at 14:21 -0700, chen li wrote: > Dear all, > > Is it possible to create a serial of array name using > a loop, such as @array0,@array1, @array2, ..., to > @array(n-1)? Yes, it is possible. Why do you want to do that, though? -- Joshua Colson <[EMAIL PROTECTED]> -- To unsu