From: Shlomi Fish <shlomif@iglu.org.il>
Date: Thu, 10 Dec 2009 18:44:36 +0000 (+0200)
Subject: Convert HAVE_GLD to _HAVE_GLD .
X-Git-Tag: 0.26~2
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a3e1acc3926470eb0315112310175d742c853a9a;p=gitmo%2FMooseX-Getopt.git

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;