To restate my problem, the code compiles and runs on the system I am testing it on, but in the eclipse EPIC environment it marks the specific line with a bad name error. I just thought to test the script from the command line and it works fine with no error calls.
I would like to know or be given direction as to why this is occuring to learn more about the proper way to code with perl.