"LAST array element"
my $last = ( split /,/,join "\n",$myscalar )[-1]; [download]
In reply to Re^4: why can't I shift a split? by tybalt89 in thread why can't I shift a split? by Anonymous Monk