Options entered on the command line are stored in the @ARGV array, so you could hypothetically access the two filenames
perl script.pl file_in file_out with
$ARGV[0] and
$ARGV[1]. If you are using more than just the two filenames (or plan on implementing switched options, etc) I would highly suggest taking a look at
GetOpt::Long.
scott.