in reply to Processing command line based on user input

lphone:

An EXE file name isn't a valid perl statement. If you want perl to run the program, you have several choices. You can wrap it in backticks, like this:

#!/usr/bin/perl use strict; use warnings; my $opt_f = shift; # Do your option checking here... `findfile.exe $opt_f`;

You could also use system("a command goes here"); to run it.

...roboticus