From: Piotr Roszatycki Date: Fri, 14 Nov 2008 15:37:36 +0000 (+0000) Subject: * MooseX::Getopt: use explict Getopt::Long module. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a4bd49b31d3e0f5afaa493d2be7f282af5c7fda;p=gitmo%2FMooseX-Getopt.git * MooseX::Getopt: use explict Getopt::Long module. --- diff --git a/lib/MooseX/Getopt.pm b/lib/MooseX/Getopt.pm index fae2483..8d0acd3 100644 --- a/lib/MooseX/Getopt.pm +++ b/lib/MooseX/Getopt.pm @@ -12,6 +12,9 @@ use MooseX::Getopt::Meta::Attribute; use MooseX::Getopt::Meta::Attribute::NoGetopt; +use Getopt::Long (); + + our $VERSION = '0.150001'; our $AUTHORITY = 'cpan:STEVAN'; diff --git a/lib/MooseX/Getopt/Parser/Descriptive.pm b/lib/MooseX/Getopt/Parser/Descriptive.pm index c212eb1..1b69fb5 100644 --- a/lib/MooseX/Getopt/Parser/Descriptive.pm +++ b/lib/MooseX/Getopt/Parser/Descriptive.pm @@ -5,9 +5,10 @@ use Moose; with 'MooseX::Getopt::Parser'; -use Getopt::Long::Descriptive; use MooseX::Getopt::OptionTypeMap; +use Getopt::Long::Descriptive (); + # Special configuration for parser has config => ( diff --git a/lib/MooseX/Getopt/Parser/Long.pm b/lib/MooseX/Getopt/Parser/Long.pm index d0342ce..e697e1f 100644 --- a/lib/MooseX/Getopt/Parser/Long.pm +++ b/lib/MooseX/Getopt/Parser/Long.pm @@ -5,9 +5,10 @@ use Moose; with 'MooseX::Getopt::Parser'; -use Getopt::Long; use MooseX::Getopt::OptionTypeMap; +use Getopt::Long (); + # Special configuration for parser has config => (