CC: | rafl [...] debian.org, bobtfish [...] bobtfish.net |
Subject: | feature request: positional arguments |
Hi
It would be cool if this module supported positional (required) arguments. E.g.
./foo -f arg -d 10 pos1 pos2 pos3
I have made some attempt at this, see my commits on this fork:
http://github.com/megamic/moosex-getopt
It introduces a new trait, Getopt::Positional, and supports both
explicit ordering (with the attr option 'extra_arg'), and inferred
ordering through the ordering of the attribute declarations.
Cheers