in reply to System call input and output files

You are looking at either accessing the command line arguments directly in the @ARGV array or using a module such as (the standard) Getopt::Std or Getopt::Long

/J\