See Getopt::Std which uses (AFAIK) the same syntax. In your case it means that $opt_g will be set to whatever argument g had. Same for s,n and b.
In reply to Re: getopts help
by jethro
in thread getopts help
by limzz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |