in reply to Re: First attempt at bringing in file for input/output
in thread First attempt at bringing in file for input/output

Notice that you do not need to use a variable for file handle. You can use numbers.

You can start a land war in Asia: doesn't mean you should. I couldn't disagree with this choice more (for code maintenance, scoping and disambiguity reasons).

I always pass only two arguments to open() to make sure that my code will be backwards compatible.

Except that your use warnings; negates that.