This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove the tokeniser hack that prevents compile-time vivification of %stash::
authorNicholas Clark <nick@ccl4.org>
Sat, 24 Oct 2009 10:36:06 +0000 (11:36 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 21 May 2010 20:24:34 +0000 (21:24 +0100)
commit0cc522c3af5e9943da81cc0c962abc67d3df6925
tree3cc6af181161ad1da14b673423302ce2e9db0362
parent4fa7c2bfe0a54ceffcc7c56cdc072eaeaf54cad9
Remove the tokeniser hack that prevents compile-time vivification of %stash::

This was put in to ensure that defined %stash:: continued to return false after
the implementation of hashes was changed, such that stashes were always defined.
defined %stash:: is deprecated.

This reverts the tokeniser changes of adc51b978ed1b2e9d4512c9bfa80386ac917d05a,
76138434928a968a390c791aec92e5f00017d01d,
d6069db2e52f58ef65bf59f2fd453604270d2205 and part of
9bde8eb087a2c05d4c8b0394a59d28a09fe5f529, and updates the tests added with those
commits to reflect the restored (but as yet unreleased) behaviour.

I don't think that this should be merged to blead until after 5.12.0 ships,
with the enabled deprecation warnings on defined %hash, as it changes subtle
behaviour that all current released stable perls accept without warning.
t/op/stash.t
toke.c