push @array, [] while @array < 10;
also works.

"Ed Christian" <[EMAIL PROTECTED]> wrote...

push (@array,[]) for (1..$num_child_arrays);

For more info:

perldoc -f push



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