or download this
Can't localize lexical variable $_ at junk line 13. (#1)
(F) You used local on a variable name that was previously declared
+ as a
lexical variable using "my" or "state". This is not allowed. If
+you want to
localize a package variable of the same name, qualify it with the
package name.