Getopt::Std is using the conventions traditionally used by Unix commands. For someone who's been using Unix/Linux for a long time, it's consistent with with the other(non-GNU) command's option parsing, with all of it's warts.
Getopt::Long follows the newer GNU conventions and may be closer to what you're expecting.
In reply to Re: Inconsistent behavior of Getopt::Std
by jeffenstein
in thread Inconsistent behavior of Getopt::Std
by likbez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |