On 8/25/2014 7:00 PM, Jonathan Marler wrote:

I am not familiar with the term "herdoc".  After a quick google, it
looks like it refers to a way of escaping the language.  Is this not
something that a single-quoted string couldn't handle? You would still
need to escape single-quotes and back-slashes, but it comes close.
However, I wouldn't be against adding a special character sequence to
support this (Maybe '<<' or something).


Heredoc is just a raw string that doesn't choke on embedded newlines.

And often the "end of string" delimiter is customizable so you don't have to worry about escaping the quotes or anything.

Reply via email to