in reply to Re^6: reading files to different output files.
in thread reading files to different output files.

Doesn't <> within the while loop open the files the users enters in the command line?

Yes, and there's more to it. Read about the null filehandle in I/O Operators, there's much to learn about @ARGV, $ARGV and ARGV, all three being "magical".

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^7: reading files to different output files.