From: Eric Hodel Date: 2005-03-18T02:38:41+09:00 Subject: Re: Heredoc and array / hash construction syntax error --Apple-Mail-14--370089524 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 17 Mar 2005, at 03:16, Relm wrote: > It may be more readable to put the expression on one line with all the > heredocs stacked beneath: I find that type of code gives me rather intense feelings of disgust and loathing. I found such an example in mkmf.rb and it was quite confusing to me, because the first here-doc terminators were nearly indistinguishable from the rest of the contents of the file. The biggest problem with beginning multiple here-docs on a single line is that you can have no whitespace between the end of the first and the beginning of the second unless that whitespace is supposed to be in the here-docs. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-14--370089524 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCOcCJMypVHHlsnwQRAuIOAKD45BDJSLk3VELycooIr9oaN9V/LwCfa1ut l1Gc76HECmaIiquEduYHKX8= =Xpym -----END PGP SIGNATURE----- --Apple-Mail-14--370089524--