diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-06-08 14:38:02 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-06-08 23:25:13 -0700 |
commit | 210fdecd4386556fdb4aa40a112c04b9f37be553 (patch) | |
tree | 3f866f75d64d7ae8cd96c1a8b61f282a72695edc /dist/Cwd/lib/File/Spec | |
parent | 1f3ffe4c6058f20e1f7d746ababdd669651e8d2b (diff) | |
download | perl-210fdecd4386556fdb4aa40a112c04b9f37be553.tar.gz |
Flush PL_stashcache on glob-to-glob assignment
Commit dc93d7fb33f6b2093 says this:
Flush PL_stashcache when assigning a file handle to a typeglob.
File handles take priority over stashes for method dispatch.
Assigning a file handle to a typeglob potentially creates a file
handle where one did not exist before. As PL_stashcache only con-
tains entries for names which unambiguously resolve to stashes,
such a change may mean that PL_stashcache now contains an invalid
entry. As it’s hard to work out exactly which entries might be
affected, simply flush the entire cache and let it rebuild itself.
But it only applied to io-to-glob assignment. This commit extends it
to glob-to-glob assignment.
Diffstat (limited to 'dist/Cwd/lib/File/Spec')
0 files changed, 0 insertions, 0 deletions