Problem with perl code

2007-07-09 Thread brajesh agrawal
Hi, My input file (string) has strings as below asfd1-asfd2-asfd3 asfd2-asfd3-asfd1 asfd1-asfd4-asfd3 (Create a file named string with above lines as a testcase for program) each line represents a loop, for example for line-1 asfd1 to asfd2 to asfd3 and back to asfd1, In that sense line-1 and

Multiple character command line switch

2007-03-12 Thread brajesh agrawal
Hi all, I was trying to write a script. I wanted to use multiple characters in command line switches. For example myScript -f1 -f2 now getopt or getopts allows only for single character switches (please correct me if its not true). Is there any module which will allow my to have multiple chara