On Fri, Jan 9, 2009 at 13:16, Eirik Berg Hanssen
<[email protected]> wrote:
> [email protected] writes:
>
>> +C<--prelude=Perl6-autoloop-no-print>. Since eager matching is used, if you
>> +need to pass something like:
>>
>> + ++foo -bar ++foo baz ++/foo ++/foo
>>
>> +you'll end up with
>> +
>> + %+OPTS<foo> = '-bar ++foo baz';
>
> That doesn't look very "eager" to me.
>
it's "eager" for the match to close, which is the opposite of "greedy"
matching. in perl 5 documentation, it's called "non-greedy". for use
and explanation of the terminology, see
http://perlcabal.org/syn/S05.html#Backtracking_control.
~jerry