perl -e "@m-(1,2,3);print $m[-1]" [download]
In reply to Re: Answer: Get the last element of an array by Anonymous Monk in thread How do I get the last element of an array? by clash