#!/usr/bin/perl use strict; use warnings; ##arguments chomp(my $first_arg = $ARGV[0]); chomp(my $second_arg = $ARGV[1]); ###check the arguments are correct if($first_arg ne "something") { #print some errors } if($second_arg ne "something") { #print some errors } ##execute the exe findfile.exe $first_agr $second_arg
In reply to Re: Processing command line based on user input
by viveksnv
in thread Processing command line based on user input
by iphone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |