From: Shlomi Fish Date: Thu, 10 Dec 2009 18:44:36 +0000 (+0200) Subject: Convert HAVE_GLD to _HAVE_GLD . X-Git-Tag: 0.27~11^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Getopt.git;a=commitdiff_plain;h=66c33c2890cfab766f7b9274dd7893a12a258d6b;hp=3421d9c27e5a12656326ac9dd6c0dd9451b793ac Convert HAVE_GLD to _HAVE_GLD . This way it doens't need to be documented. --- diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index f3636f3..4f1903b 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -1,12 +1,12 @@ package MooseX::Getopt; use Moose::Role; -use constant HAVE_GLD => not not eval { require Getopt::Long::Descriptive }; +use constant _HAVE_GLD => not not eval { require Getopt::Long::Descriptive }; our $VERSION = '0.25'; our $AUTHORITY = 'cpan:STEVAN'; -with HAVE_GLD ? 'MooseX::Getopt::GLD' : 'MooseX::Getopt::Basic'; +with _HAVE_GLD ? 'MooseX::Getopt::GLD' : 'MooseX::Getopt::Basic'; no Moose::Role; 1;