in reply to Getting last value in array

Yet another way to do it:
$last_value = $array[$#array]; # $#array is the last index in @array

-- Mike

--
just,my${.02}