in reply to
How can I create an array that holds number of variables with values?
my @array = map {0} 0..19;
Comment on
Re: How can I create an array that holds number of variables with values?
Replies are listed 'Best First'.
Re: Answer: How can I create an array that holds number of variables with values?
by
I0
(Priest)
on Dec 20, 2000 at 12:24 UTC
my @array = (0)x20;
[reply]
[d/l]
In Section
Seekers of Perl Wisdom