in reply to
Problem creating array
... my $p=0; push @result, ($p++)x$_ for @count; ...
[download]
Comment on
Re: Problem creating array
Download
Code
In Section
Seekers of Perl Wisdom