print( (sort @array)[0] ); #### my ($first) = sort @array; #### use List::Util qw( minstr ); print( minstr @array );