in reply to Re: sorting inside specific
in thread sorting inside specific
Take a look at push.
@array = (@array,$_); # copies the entire array every time
push @array, $_; # does not copy the entire array every time
In Section
Seekers of Perl Wisdom