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