Hi folks, I am using "getopt" to get the options entered on command-line.I am trying to find how to check for what command-line option was entered?I want to wrap some part of code based on the options entered.Can someone pls suggest how to do that?
my %options=(); use Getopt::Std; getopt("bg",\%options);
In reply to How to check for the command line option entered? by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |