sub makelist { my @list; for (1..$_[1]) { push @list, $_[0] }; return @list; }
In reply to Re: generating a list of identical elements
by fisher
in thread generating a list of identical elements
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |