in reply to Re: Naming file handles with variables?
in thread Naming file handles with variables?

No, not quite - from perlrun, we see:
-n causes Perl to assume the following loop around your program, which ma +kes it iterate over filename arguments somewhat like sed -n or awk:.. +.
Since it [the -n option] causes perl to iterate over the files in turn, self-evidently doesn't meet the requirements of the OP.

A user level that continues to overstate my experience :-))