in reply to Passing multiple input files to a Perl script through command line

Of course you can use more than one command line switch, and you can use command line switches which pass lists. See "Options with multiple values" in Getopt::Long.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re: Passing multiple input files to a Perl script through command line