On 03/02/04 16:40, Jim Canfield wrote:
Greetings,

I'm having trouble creating an 2 dimensional array that contains the values
of other smaller arrays. For example:

foreach (@files) {

     #...Get values
     @smallarray = ('$value1',$value2','$value3');

#Append @smallarray to @largearray


push @largearray, [EMAIL PROTECTED];


will append a reference to smallarray to the end of largearray. See the perlref manpage for more details.

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