Hi, When the user runs the script "script.pl"from command line as below,I am running an exe findfile.exe in that script based on the command line options.How do I process the command line and run findfile.exe based on the correct options(even though the options are interchanged,the script should pick the right options.Can someone pls help? >>perl script.pl -f file.c -d c:\ >>perl script.pl -d C:\ -f file.c
#!/usr/bin/perl -w use strict; use warnings; findfile.exe <opt_f> <opt_d>
In reply to Processing command line based on user input by iphone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |