From: dblack@... Date: 2003-02-06T05:15:07+09:00 Subject: Re: %L, %l revisited Hi -- On Tue, 4 Feb 2003, Tom Sawyer wrote: > On Monday 03 February 2003 09:02 am, nobu.nokada@softhome.net wrote: > > I meant: > > > > puts <<-EOS, "and more" > > this is > > come > > text > > EOS > > > > or > > > > puts %Q{ > > this is > > come > > text > > }, "and more" > > > > are possible, but > > > > puts %l|this is > > |come > > |text > > > > , "and more" > > besides the fact the you'd never do two literal strings together like this > (one at least would be a variable) i have never used , (but i could see for > << which i have used.) I wouldn't say never. puts "one", "two" can be handy since it prints each literal on a separate line; you don't have to do multiple puts's or embed \n's explicitly. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav