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.



-----Original Message-----
From: chen li [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 17, 2006 2:21 PM
To: beginners@perl.org
Subject: how to create a serial of array names in perl

Dear all,

Is it possible to create a serial of array name using
a loop, such as @array0,@array1, @array2, ..., to
@array(n-1)?



--
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