It sounds like you have the auto abbrev option turned on.  But even so, if 
"build" is also an option that error message does not make sense. 

-Hank

On Sep 19, 2013, at 5:18 PM, sh...@comcast.net wrote:

> 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