in reply to "my" variable masks earlier declaration in same scope

I am a Perl newbie, and I’m running a program and receiving the errors below.
Welcome. To make your experience here better, check out PerlMonks FAQ : Getting Started with PerlMonks

Has anyone encountered this before? If so, where am I going wrong?
Easily answered using a search engine, like this or this
Since you're new, you should add
use diagnostic;
to your program, so you'll get more detailed explanation, like "%s" variable %s masks earlier declaration in same %s

  • Comment on Re: "my" variable masks earlier declaration in same scope