or longwindedpush @arry, ( $var ) x $cnt;
push @arry, $var for 0 .. $cnt; push @arry, map { $var } 0 .. $cnt;
In reply to Re: Pushing Element Multiple Times to Array
by Anonymous Monk
in thread Pushing Element Multiple Times to Array
by atancasis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |