From: David Tran Date: 2005-03-17T07:19:41+09:00 Subject: Heredoc and array / hash construction syntax error My question is how can you construct a "heredoc array" ( or hash). Let me start with is code: a = [ 1, 2 ] it is perfect ruby syntax. but if you put the ',' on next line like: a = [ 1 , 2 ] then you got syntax error. It seems stupid to put ',' on next line but I have no choice, here is my use case with heredoc example: a = [ <