On Fri, Sep 29, 2017 at 1:49 PM, ToddAndMargo <toddandma...@zoho.com> wrote:

> I am trying to find a shorter way of doing
>      $x = $x ~ "def"
>
> But I can't seem to master "append"
>
> What am I doing wrong?
>

Again (as with last night in IRC) you are treating a string as a list. But
a string is a single thing; it doesn't make sense to list-append to it.

    $x ~= "def";

-- 
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