Let's say I have
my %foo;
Can I set keys foo
, bar
, baz
to a
b
c
by taking a slice and doing parallel assignment with postfix notation?
%foo->@{qw/foo bar baz/} = qw/a b c/
I used this syntax and I was told it was only "accidentally working". I don't see it generating a warning, and I also don't see it documented anywhere. Is this behavior supported or not?