John E. Malmberg wrote: > > In Perl_hv_iternext_flags, on the VMS platform, the calls > prime_env_iter() which can load up new environment values. If it does, > then the index to the environment hash needs to be reset, otherwise it > cause this problem. > > This patch appears to fix this. It is quite possible that there are > better ways of doing this, and that this also potentially affects any > other platform that calls prime_env_iter().
Thanks, applied as change #25535.