On Thu, Oct 5, 2017 at 11:44 AM, Andy Bach <afb...@gmail.com> wrote:
>> is
>    <<>>
>> synonymous with
>    qw[]
> ?

`<<>>` is the same as `qqww<<>>`
Which is short for `Q :qq :ww <<>>`

the `:qq` is short for `:double`, that is it turns on double quote behaviour
`:double` is short for `:scalar :array :hash :function :closure :backslash`

the `:ww` is short for `:quotewords` which is similar to `:words` except
it allows quoting to override where it splits the strings.

`Q :quotewords < a 'b c' d >` turns into `( 'a', 'b c', 'd' )`

Note that if you explicitly use `q` `qq` or `Q` that the brackets will
not change how
the construct works. (So even if you use `Q<<…>>` it will be the same as `Q'…'`)

Reply via email to