From: Wybo Dekker Date: 2012-04-24T21:59:30+09:00 Subject: Re: gem-packed script with DATA section does not work On 2012-04-24 11:08, Robert Klemme wrote: > # single quotes are important! > MY_DATA = <<'DAT' > doc is here > DAT > > And if you place it at the end of the script you have pretty much the > same as with __END__ - plus, you can even define more documents that > way. You could also do Maybe I don't see the clue, but putting the doc at the end of the script (and thus necessarily using it before its definition) results in: uninitialized constant MY_DATA (NameError) -- Wybo