That happens if you call the sub with an ampersand and without parentheses. This is documented in perlsub.
In reply to Re^3: Messing with @_ by kyle in thread Messing with @_ by TGI