perl myprogram.pl -input C:\inputfilelocation -output C:\outputfilelocation #### GetOptions('input=s' => \$input,'output=s' => \$output);