Take a look at push.
@array = (@array,$_); # copies the entire array every time
push @array, $_; # does not copy the entire array every time
In reply to Re^2: sorting inside specific
by jryan
in thread sorting inside specific
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |