Hi Eric! On Tue, Jan 12, 2021 at 1:32 PM Eric Wong <p5p@yhbt.net> wrote: > > I've relied on a similar thing "local %ENV = (%ENV, k => $v)" > for ages, so is this anomaly for %SIG documented/expected? I wonder if you could be running into an entry in %ENV with a undef value? In that case we could end up with an odd number of hash-elements and worse. Perl will ignore the undef values from hashes "exploded" within parens, e.g. within the ... part of @x = ( ... ). When we come to assign the resulting list back into a new hash we then get "misalignments". > Thanks for any answer you can provide. TIA for clarifying where this suggestion turned out to be wrong or unhelpful :) Regards! CorwinThread Previous | Thread Next