This is just a way to pass arguments in a method call.

This is called the colon-pair syntax:
https://docs.perl6.org/language/glossary#index-entry-Colon_Pair



Le lun. 15 oct. 2018 à 12:08, ToddAndMargo via perl6-users <
perl6-users@perl.org> a écrit :

> Hi All,
>
> Over on:
>      https://docs.perl6.org/routine/slurp
>
> This I understand
>      enc => "latin1"
>
> What is
>      :$enc
> ?
>
> Many thanks,
> -T
>

Reply via email to