This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore use of PL_stashcache, the stash name lookup cache for method calls.
authorNicholas Clark <nick@ccl4.org>
Sun, 23 Sep 2012 20:21:14 +0000 (22:21 +0200)
committerNicholas Clark <nick@ccl4.org>
Wed, 26 Sep 2012 21:28:50 +0000 (23:28 +0200)
commitb3ebc22146bca162c8b7f92453024f9f7a965c0a
tree1d85f06c9ec37c2a62b0698328f8dbcff593652c
parent103f5a36127499843005aa988becbcdca21384af
Restore use of PL_stashcache, the stash name lookup cache for method calls.

Commit da6b625f78f5f133 in Aug 2011 inadvertently broke the code that looks
up values in PL_stashcache. As it's a only cache, quite correctly everything
carried on working without it.

Restoring it re-introduces two bugs first introduced when PL_stashcache was
added, by commit 081fc587427bbcef in Apr 2003.
pp_hot.c
t/op/method.t