in reply to Why does default $_ only work
Best an example which also compiles ... plus input.
My guess is you only renamed one $_.
Cheers Rolf (addicted to the Perl Programming Language :) Wikisyntax for the Monastery