$_ isn't $_[0] $_[0] is the first element of @_ Compare to $a, @a, and $a[0]