diff options
author | Larry Wall <lwall@netlabs.com> | 1995-03-12 22:32:14 -0800 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1995-03-12 22:32:14 -0800 |
commit | 748a93069b3d16374a9859d1456065dd3ae11394 (patch) | |
tree | 308ca14de9933a313dceacce8be77db67d9368c7 /h2xs.SH | |
parent | fec02dd38faf8f83471b031857d89cb76fea1ca0 (diff) | |
download | perl-748a93069b3d16374a9859d1456065dd3ae11394.tar.gz |
Perl 5.001perl-5.001
[See the Changes file for a list of changes]
Diffstat (limited to 'h2xs.SH')
-rwxr-xr-x | h2xs.SH | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -250,10 +250,6 @@ print PM<<"END"; \@EXPORT = qw( @const_names ); -# Other items we are prepared to export if requested -\@EXPORT_OK = qw( -); - END print PM <<"END" unless $opt_c; @@ -262,12 +258,6 @@ sub AUTOLOAD { # XS function. If a constant is not found then control is passed # to the AUTOLOAD in AutoLoader. - # NOTE: THIS AUTOLOAD FUNCTION IS FLAWED (but is the best we can do for now). - # Avoid old-style ``&CONST'' usage. Either remove the ``&'' or add ``()''. - if (\@_ > 0) { - \$AutoLoader::AUTOLOAD = \$AUTOLOAD; - goto &AutoLoader::AUTOLOAD; - } local(\$constname); (\$constname = \$AUTOLOAD) =~ s/.*:://; \$val = constant(\$constname, \@_ ? \$_[0] : 0); |