parsing command line arguments multiple times
- From: lohit.vijayarenu@xxxxxxxxx (Lohit)
- Date: Fri, 29 Apr 2005 11:09:43 +0530
Hi,
i have a requirement, as in based on one command line option, the rest of
the arguments change for the same script.
eg: script could be called in either of the ways
script1 -option1 -option2 adfas -option3
script -option1 -option4
my question is
1. how do we get the option1 alone from GetOptions function
2. can i call GetOptions multiple times?
how would you handle such situation
thanks in advance for the help!!
- Follow-Ups:
- Prev by Date: Re: REGEXP removing - il- - -b-f and - il- - - - f
- Next by Date: Re: parsing command line arguments multiple times
- Previous by thread: perl module to create pdf reports
- Next by thread: Re: parsing command line arguments multiple times
- Index(es):
Relevant Pages
|