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


in reply to Compilation error

suggested reading:

I would definitely recommend reading through the debugging tutorial. Stepping through your code a line at a time will help you visualize how your code is actually behaving.