in reply to Re: RFC: Destructuring Assignment (aka Unpacking aka Type Patterns) in pure Perl
in thread RFC: Destructuring Assignment (aka Unpacking aka Type Patterns) in pure Perl

Ignore this too.

One more thing, a generic destructuring assignment isn't possible in Perl for the same reason that keys EXPR was a failed experiment: It's not always possible to tell if a value is an array or hash in Perl because a value could be both!

  • Comment on Re^2: RFC: Destructuring Assignment (aka Unpacking aka Type Patterns) in pure Perl
  • Download Code