Skip Menu |

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

Report information
The Basics
Id: 86694
Status: open
Priority: 0/
Queue: MooseX-Getopt

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

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



Subject: MooseX::Getopt not recognizing single '-' long options
Date: Thu, 4 Jul 2013 11:37:30 +0530
To: bug-MooseX-Getopt [...] rt.cpan.org
From: Arun Krishnakumar <arunxls [...] gmail.com>
From the MooseX::Getopt page % perl my_app_script.pl -in file.input -out file.dump This does not work for me as it does forceful bundling. Setting use Getopt::Long qw(:config no_bundling); in my module also does not seem to work. I need a way to specify single '-' options on the command line. Thanks
Is there a particular combination of config options for Getopt::Long or Getopt::Long::Descriptive that does work? e.g. can you get the option parsing to work when MooseX::Getopt is not involved? can you attach such an example? This will help diagnose the issue, as MXGO itself does not tinker much with the Getopt::Long parsing.
Subject: Re: [rt.cpan.org #86694] MooseX::Getopt not recognizing single '-' long options
Date: Fri, 5 Jul 2013 14:10:17 +0530
To: bug-MooseX-Getopt [...] rt.cpan.org
From: Arun Krishnakumar <arunxls [...] gmail.com>
I'm using the same example you have used in the synopsis on the page. With MooseX::Getopt::Usage it seems to work. PFA two modules using MooseX::Getopt and MooseX::Getopt::Usage. Thanks, Arun On Thu, Jul 4, 2013 at 10:22 PM, Karen Etheridge via RT < bug-MooseX-Getopt@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=86694 > > > Is there a particular combination of config options for Getopt::Long or > Getopt::Long::Descriptive that does work? e.g. can you get the option > parsing to work when MooseX::Getopt is not involved? can you attach such > an example? This will help diagnose the issue, as MXGO itself does not > tinker much with the Getopt::Long parsing. >
Download Go.zip
application/zip 950b

Message body not shown because it is not plain text.