1. Use GetOptions to process the input command line. 2. Do the required validation. This will result in modifying the command line paramteres and resultant will be stored in a hash. 3. Use this hash in order to form the command line again.The problem is while doing the 3rd step, I need to distinguish if a given argument is a toggle or a parameter. So, I want to distinguish between 1( toggle ) and '1'( argument ).
In reply to Re^2: How to check if a scalar value is numeric or string?
by bgupta
in thread How to check if a scalar value is numeric or string?
by bgupta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |