(sort {$a<=>} @lst)[0] # an alternative way to get min value from some numeric list.