From: Michael G. Schwern Date: Wed, 25 Jul 2012 03:21:09 GMT Subject: [PATCH 1/3] Quiet warning if Makefile.PL is run with -w and no --localedir Message-ID: <1343186471-1024-2-git-send-email-schwern@pobox.com> In-Reply-To: <1343186471-1024-1-git-send-email-schwern@pobox.com> From: "Michael G. Schwern" Usually it isn't, but its nice if it can be run with warnings on. Signed-off-by: Michael G Schwern --- perl/Makefile.PL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/Makefile.PL b/perl/Makefile.PL index b54b04a..87e1f62 100644 --- a/perl/Makefile.PL +++ b/perl/Makefile.PL @@ -6,7 +6,8 @@ use Getopt::Long; # Sanity: die at first unknown option Getopt::Long::Configure qw/ pass_through /; -GetOptions("localedir=s" => \my $localedir); +my $localedir = ''; +GetOptions("localedir=s" => \$localedir); sub MY::postamble { return <<'MAKE_FRAG'; -- 1.7.11.1