http://www.perlmonks.org?node_id=984748


in reply to Re^2: How to get rid of the errors in my perl script
in thread How to get rid of the errors in my perl script

You should remove my from line 13. It doesn't belong there and is causing this error.