From: Chad Perrin Date: 2012-02-01T02:34:01+09:00 Subject: Re: why we need heredoc On Tue, Jan 31, 2012 at 09:00:06PM +0900, Lucky Nl wrote: > > Anyspecific reason to use heredoc concept I use heredocs in my programs primarily for documentation that is output in answer to command line options, because: 1. It looks prettier in the source, and stands out more as separate from the rest of the code, than other string quoting mechanisms. 2. It allows me to use both ASCII apostrophes and ASCII double quotes in these documentation strings without cluttering up the text with escape character backslashes. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]