"better way" than xorl's algorithm not "better way" than Getopt.
Getopt::Std uses the algorithm I described, with shift.
In reply to Re^3: Handling Parameters
by jethro
in thread Handling Parameters
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |