This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
TODO test for $AUTOLOAD with XS AUTOLOAD
authorSteffen Mueller <smueller@cpan.org>
Wed, 12 Oct 2011 01:20:06 +0000 (18:20 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 12 Oct 2011 01:20:51 +0000 (18:20 -0700)
commit120b7a08b6eec7ddfe4a829dd2b2ec5ed8612ec1
treeded5dfe0c81dcc16364d7b6ce5500e2d8d897458
parent3403a50add1cbdbb8ddebb8cb75bc80559f0188f
TODO test for $AUTOLOAD with XS AUTOLOAD

If an AUTOLOAD sub is an XSUB, $AUTOLOAD won't be set. This is intended
as an optimization, but $AUTOLOAD *was* set back in 5.6.0, so this is
a regression.

Committer’s note: I modified the commit message and the comments, as
the original author did not know about the autoload mechanism setting
CvSTASH.  For that matter, neither did I till yesterday.
ext/XS-APItest/APItest.pm
ext/XS-APItest/APItest.xs
ext/XS-APItest/t/autoload.t