Re: Getopt::Long in perl

2010-07-29 Thread Jim Gibson
On 7/29/10 Thu Jul 29, 2010 1:17 AM, "Sooraj S" scribbled: > Hi, > > I am using Getopt::Long to accept the command line arguments. > > Logic > - > I have two mandatory options. > 1.mod1_num > 2.mod2_num > > Both of them can accept either a 3digit number or another parameter > "preser

Getopt::Long in perl

2010-07-29 Thread Sooraj S
Hi, I am using Getopt::Long to accept the command line arguments. Logic - I have two mandatory options. 1.mod1_num 2.mod2_num Both of them can accept either a 3digit number or another parameter "preserve" which inturn accepts a 3digit number. eg: my_script -mod1_num 123 -mod2_num 234