As the others said above, use one of the GetOpt modules as well.$var_for_opt_a = defined($opt_a) ? $opt_a : "some default value";
thor
In reply to Re: option on command line
by thor
in thread option on command line
by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |