On Fri, Jan 13, 2017 at 4:33 AM, Todd Chester <toddandma...@zoho.com> wrote:

> Will "~"
> always replace "+" for this, or only with a dynamic variable?
>

~ is always string concatenation; + is never correct for strings unless you
want to coerce the string to a number (which is what led to your error
message). This is also true for Perl 5, aside from it using . instead of ~
for concatenation.


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