Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 86241
Status: new
Priority: 0/
Queue: MouseX-Getopt

People
Owner: Nobody in particular
Requestors: bhaskarvk [...] gmail.com
Cc:
AdminCc:

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



Subject: Need a way to pass config to GLD.
Date: Tue, 18 Jun 2013 12:52:15 -0400
To: bug-MouseX-Getopt [...] rt.cpan.org
From: "Bhaskar V. Karambelkar" <bhaskarvk [...] gmail.com>
Download (untitled) / with headers
text/plain 746b
In MooseX::Getopt::GLD, I can pass config to GLD, with something like with 'MooseX::Getopt::GLD' => { getopt_conf => [ 'pass_through' ] }; But MouseX::Getopt::GLD does not support such a construct. Looking at MooseX::Getopt::GLD's code, it is very trivial to add the same support to MouseX module as well. w/o this , there's no way to pass any options to GLD, and if I can't pass 'pass_through' then extra_argv is never populated, as MouseX::Getopt errors out, on seeing a non recognized option. Also MooseX::Getopt has a 'print_usage_text' method, which makes adding custom text for help arguments very easy by putting an 'around' call around the 'print_usage_text'. It would be nice to have the same feature in MouseX::Getopt too. thanks


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.