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

You do realize that's a destructuring assigment, right?

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

Replies are listed 'Best First'.
Re^4: RFC: Destructuring Assignment (aka Unpacking aka Type Patterns) in pure Perl
by LanX (Saint) on Jul 03, 2020 at 20:21 UTC
    You do realize that Perl can't do this naturally, right?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      I get it now. I wasn't aware of the recursive nature of the assignment. There's no mention of that in the MDN page. I've used it extensively, but not recursively as you demonstrated. (Upd: Sigh, I'm blind. Brainy not worky.)

      uh? It can. Anyway, my post was confusing two concepts and I'm rewriting it (as a separate post). This will be evident there.

        > uh? It can

        Not in one statement, while diving into depth and grabbing values.

        My demo implements this.

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery