summaryrefslogtreecommitdiff
path: root/utils/instmodsh.PL
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-11-30 22:05:03 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-11-30 22:05:03 -0800
commit0ea03996e7eb3b3be4ed648a954c083fc011f523 (patch)
tree2c74901023a04636a416df3c625d0a02d5efa973 /utils/instmodsh.PL
parentc624397aee3afc3848b53f669b1d8c389701e29b (diff)
downloadperl-0ea03996e7eb3b3be4ed648a954c083fc011f523.tar.gz
[perl #105024] UNIVERSAL::AUTOLOAD and %+
The code in gv.c for loading a tie module automatically (S_require_tie_mod) was only loading the module if its stash did not exist or if a particular method (usually TIEHASH) could not be found. But it was triggering autoloading, such that a universal AUTOLOAD method would allow it to ‘find’ the method it was looking for, even if it did not exist. So autovivifying the package somehow (e.g., by men- tioning one of its symbols) could prevent the module from loading.
Diffstat (limited to 'utils/instmodsh.PL')
0 files changed, 0 insertions, 0 deletions