Skip Menu |
 

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 60418
Status: new
Priority: 0/
Queue: MooseX-Getopt

People
Owner: Nobody in particular
Requestors: megamic [...] cpan.org
Cc: bobtfish [...] bobtfish.net
rafl [...] debian.org
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



CC: rafl [...] debian.org, bobtfish [...] bobtfish.net
Subject: feature request: positional arguments
Download (untitled) / with headers
text/plain 427b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.