diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-26 03:15:33 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-26 03:15:33 +0000 |
commit | 265f5c4a1b0b933305c553dbf2bf285c59261bc3 (patch) | |
tree | bf6d8792c6d0bb8807b4400b4a22f1233709b7c7 /utils | |
parent | 94672f70d8cd80d85af601db230d5a82be7c7f28 (diff) | |
download | perl-265f5c4a1b0b933305c553dbf2bf285c59261bc3.tar.gz |
INSTALL =~ s/5.006/5.6/; delay loading Errno until needed
(%! has the necessary magic); misc typos
p4raw-id: //depot/perl@3754
Diffstat (limited to 'utils')
-rw-r--r-- | utils/h2xs.PL | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 5bd9b474de..bd0ba16f46 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -425,7 +425,6 @@ else{ # will want Carp. print PM <<'END'; use Carp; -use Errno; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); END } @@ -478,7 +477,7 @@ sub AUTOLOAD { croak "&$module::constant not defined" if \$constname eq 'constant'; my \$val = constant(\$constname, \@_ ? \$_[0] : 0); if (\$! != 0) { - if (\$!{EINVAL} || \$! =~ /Invalid/) { + if (\$! =~ /Invalid/ || \$!{EINVAL}) { \$AutoLoader::AUTOLOAD = \$AUTOLOAD; goto &AutoLoader::AUTOLOAD; } |