This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
On VMS, %ENV in scalar context must call prime_env_iter()
authorNicholas Clark <nick@ccl4.org>
Sun, 12 Sep 2021 10:42:25 +0000 (10:42 +0000)
committerCraig A. Berry <craigberry@mac.com>
Sun, 12 Sep 2021 20:54:41 +0000 (15:54 -0500)
commit00164771421225a404b0f24a96ce9a65e76b4215
tree5940debbabe873a71de256e0b07eda699636b59f
parent62a725033d9327b2e97960ce74aba9fdf2f5c5bf
On VMS, %ENV in scalar context must call prime_env_iter()

Otherwise it will return wrong results, unless other code happens to
have iterated over %ENV. This bug has probably existed forever.
pod/perldelta.pod
pp_hot.c
t/op/each.t