On Sun, Jun 3, 2018 at 3:08 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> On 06/03/2018 11:01 AM, Brandon Allbery wrote:
>
>> Is there something missing in the examples at the link?
>>
>
> Well, a bit.  When I see
>
>     chmod 0o755, <myfile1  myfile2>;
>
> I think `myfile1` and `myfile2` are "functions", not
> data.
>

They aren't, they are a list of strings.

`< a b c >` is short for `qw< a b c>` which is short for `Q :single :words
< a b c >`

basically `' a b c '.words()`

see https://docs.perl6.org/language/quoting

So the above is really the same as:

    chmod 0o755, ( 'myfile1',  'myfile2' );

Reply via email to