http://www.perlmonks.org?node_id=296215


in reply to Perl 6: Multiple subexpression modifiers with in a statement?

Yes. It'll work.
  • Comment on Re: Perl 6: Multiple subexpression modifiers with in a statement?

Replies are listed 'Best First'.
Re: Re: Perl 6: Multiple subexpression modifiers with in a statement?
by kelan (Deacon) on Oct 03, 2003 at 13:42 UTC

    Will it simply associate modifiers right-to-left? As in, the rightmost modifier modifies everything to the left of it, etc. What I'm getting at is that I don't want to have to think about something like "modifier precedence" when chaining them like this.

    kelan


    Perl6 Grammar Student

      It'll be strict right-to-left. Just don't throw mys in there, as proper scoping in chained modifiers is never what people expect, and may well just be disallowed.