in reply to Re^2: Extracting from output file
in thread Extracting from output file

Yea I dont use strict and warnings because I dont know how to resolve what its complaining about.

Ah, that's even more of a reason to use them! If you get errors/warnings that you're not sure what they mean:

You'll learn a lot this way, your Perl will improve, and your scripts will have fewer bugs/unpleasant surprises.

There's also a book, TheDamian's Perl Best Practices, that may be of interest. It's a bit older by now, but it's got a lot of good advice.