I have a class that uses MouseX::Getopt with several attributes like this: 


build, build1, build2. 


The constructor dies with the message: Option build is ambiguous (build1, 
build2). 
However when using similar standalone code that uses Getopt::Long::GetOptions 
everything works fine. 


What Am I missing? 


--- 



use strict; 
use Getopt::Long; 


my %options; 


GetOptions(\%options, 'build=s', 'build1=s', 'build2=s') || die; 







Reply via email to