From: Eric Schwartz Date: 2003-12-04T10:22:06+09:00 Subject: Re: _VERY_ basic Here Doc Question "dhtapp" writes: > if x.index( "jpclient=yes" ) > session.print( <<-"JAVA_CLIENT_RAW_XML" > JAVA_CLIENT_RAW_XML ) > next > end > { &etc. } > > ...but the here doc doesn't parse. Can someone please take two nanoseconds > to point out the obvious? Gladly. It should be: session.print( <<-"BLAH" ) ... stuff ... BLAH My rule of thumb with here-docs is to think of it like the '<