in reply to Re^2: What’s the best way to get the last N elements of a Perl array?in thread What’s the best way to get the last N elements of a Perl array?
@last_n=@source[(@source-$n)..$#source]if ($n<=@scource); [download]