in reply to more perl newbie misery

I know you know this -- but you keep backing the truck over your own foot anyway, so it bears repeating:

use strict;
use warnings;

And stop commenting them out. That only hurts you.

Seriously. Just grind through what it's telling you, because -- and I know you know this -- that's how you're going to learn to do it better, and more automatically.

The sooner the better.

Like right now.

You will like where you end up, despite the current pain. Trust me