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


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

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

  • Comment on Re: Re: Perl 6: Multiple subexpression modifiers with in a statement?

Replies are listed 'Best First'.
Re: Re: Re: Perl 6: Multiple subexpression modifiers with in a statement?
by Elian (Parson) on Oct 03, 2003 at 13:55 UTC
    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.