From: Xavier Noria Date: 2012-04-23T22:57:52+09:00 Subject: Re: gem-packed script with DATA section does not work --e89a8f234c271cc27c04be59063d Content-Type: text/plain; charset=UTF-8 On Mon, Apr 23, 2012 at 3:55 PM, Xavier Noria wrote: BEGIN { > require 'stringio' > DATA = StringIO.new(< ... > EOS > } > Ah, the (unquoted) indentation is wrong in that heredoc, but you see the idea. --e89a8f234c271cc27c04be59063d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Apr 23, 2012 at 3:55 PM, Xavier Noria <fx= n@hashref.com> wrote:

=C2=A0 =C2=A0 BEGIN {
<= div>=C2=A0 =C2=A0 =C2=A0 require 'stringio'
=C2=A0 =C2=A0 =C2=A0 DATA =3D StringIO.new(<<EOS)
=C2=A0 =C2=A0 =C2=A0 ...
=C2=A0 =C2=A0 =C2=A0 EOS
= =C2=A0 =C2=A0 }

Ah,= the (unquoted) indentation is wrong in that heredoc, but you see the idea.=

--e89a8f234c271cc27c04be59063d--