On Wed, Sep 26, 2018 at 11:40 PM ToddAndMargo <toddandma...@zoho.com> wrote:

> What I don't understand is:
>
>       multi method words(Str:D $input: $limit = Inf --> Positional)
>
> Specifically "$limit = Inf".  Why are we using "$limit" instead
> of "$selection"
>

  Perhaps this would be easier if you explain where you're getting
"$selection", and what you think it is.

And where is it stated what goes in the () and what goes
> in the []?
>

  The () is part of a method call syntax; method arguments go there:
https://docs.perl6.org/language/syntax#Subroutine_calls

  The [] is a postcircumfix operator; index arguments go there:
https://docs.perl6.org/language/operators#postcircumfix_[_]


Eirik

Reply via email to