in reply to how can I input different files as an argument while I am running my perl program?

Just specify the files as arguments. The file names will be available in the @ARGV array.

If you want to input data from those files, you can do several things, depending on how you need to use the data from them:

--ZZamboni

  • Comment on Re: how can I input different files as an argument while I am running my perl program?