summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorHugo van der Sanden <hv@crypt.org>2000-02-24 13:24:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-24 15:14:48 +0000
commitaba054787d21be4f8e2f26819be88cdbe3e7bbd8 (patch)
treed72e1dd024d4aeeaa23f0315e02cba3a1ff23b32 /utils
parentfac7cdfc52dfde65108b7aa23f5b622c8594f59f (diff)
downloadperl-aba054787d21be4f8e2f26819be88cdbe3e7bbd8.tar.gz
double EXPORT_OK in h2xs
To: perl5-porters@perl.org Message-Id: <200002241324.NAA05900@crypt.compulink.co.uk> p4raw-id: //depot/cfgperl@5236
Diffstat (limited to 'utils')
-rw-r--r--utils/h2xs.PL9
1 files changed, 1 insertions, 8 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL
index 76e2d65e8b..c47418e824 100644
--- a/utils/h2xs.PL
+++ b/utils/h2xs.PL
@@ -634,18 +634,11 @@ require 5.005_62;
use strict;
END
-if( $opt_X || $opt_c || $opt_A ){
- # we won't have our own AUTOLOAD(), so won't have $AUTOLOAD
- print PM <<'END';
-our @EXPORT_OK;
-END
-}
-else{
+unless( $opt_X || $opt_c || $opt_A ){
# we'll have an AUTOLOAD(), and it will have $AUTOLOAD and
# will want Carp.
print PM <<'END';
use Carp;
-our @EXPORT_OK;
END
}