On Sat, Sep 30, 2017 at 5:08 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> On 09/30/2017 02:20 AM, Timo Paulssen wrote:
>
>> This doc page should help you a lot with this topic:
>>
>> https://docs.perl6.org/language/subscripts#Basics
>>
>>
> A little bit.  I had found that when I was researching.  It did not
> go into who to use a variable as a key value.
>

It does, but indirectly because it's based on single vs. double quoting and
refers you there. This concept gets reused enough that it's not separately
described for every place where it is used; the documentation would be
impossible to manage, almost as impossible to read, and often out of sync
with itself if every reused concept had to be fully explained everywhere it
is used.

Basically: < > is single quotes and treats variables and expressions as
literals. << >> is double quotes and interpolates variables but not general
expressions. And { } does no quoting at all and uses general expressions.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to