Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Carp::Heavy bugs

git-svn-id: svn://axkit.org/XML-Parser/trunk@22 2154792d-645b-41ca-96ca-efebb8c93226
  • Loading branch information...
commit 2931971335590fab6c79d748b7de712b26142d22 1 parent 29c7340
matt authored committed
Showing with 19 additions and 22 deletions.
  1. +18 −21 Expat/Makefile.PL
  2. +1 −1  Makefile.PL
View
39 Expat/Makefile.PL
@@ -3,30 +3,27 @@ use Config;
use English;
my $libs = "-lexpat";
-@extras = ();
+my @extras = ();
-push(@extras, INC => "-I$expat_incpath")
- if $expat_incpath;
+push(@extras, INC => "-I$expat_incpath") if $expat_incpath;
-$libs = "-L$expat_libpath $libs"
- if $expat_libpath;
-
-push(@extras,
- CAPI => 'TRUE')
- if ($PERL_VERSION >= 5.005 and $OSNAME eq 'MSWin32'
- and $Config{archname} =~ /-object\b/i);
+$libs = "-L$expat_libpath $libs" if $expat_libpath;
+
+push(@extras, CAPI => 'TRUE')
+ if (($PERL_VERSION >= 5.005) and ($OSNAME eq 'MSWin32')
+ and ($Config{archname} =~ /-object\b/i));
push(@extras,
- ABSTRACT => "Lowlevel access to James Clark's expat XML parser",
- AUTHOR => 'Clark Cooper (coopercc@netheaven.com)')
- if ($ExtUtils::MakeMaker::VERSION >= 5.4301);
-
+ ABSTRACT => "Lowlevel access to James Clark's expat XML parser",
+ AUTHOR => 'Matt Sergeant (matt@sergeant.org)')
+ if ($ExtUtils::MakeMaker::VERSION >= 5.4301);
+
WriteMakefile(
- NAME => 'XML::Parser::Expat',
- C => ['Expat.c'],
- LIBS => $libs,
- XSPROTOARG => '-noprototypes',
- VERSION_FROM => 'Expat.pm',
- @extras
- );
+ NAME => 'XML::Parser::Expat',
+ C => ['Expat.c'],
+ LIBS => $libs,
+ XSPROTOARG => '-noprototypes',
+ VERSION_FROM => 'Expat.pm',
+ @extras
+);
View
2  Makefile.PL
@@ -85,7 +85,7 @@ sub MY::test
$ret;
}
-@extras = ();
+my @extras = ();
push(@extras,
CAPI => 'TRUE')
Please sign in to comment.
Something went wrong with that request. Please try again.