Please sign in to comment.
[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.
- Loading branch information...