my @arr = qw/ 1 9 8 7 6 2 3 4 5/; print ( (sort @arr)[-2] ); [download]
In reply to Re: How to get 2nd highest value from an array? by davidrw in thread How to get 2nd highest value from an array? by rsiedl