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
In reply to Re: Processing command line based on user input
by roboticus
in thread Processing command line based on user input
by iphone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |