Tom Christiansen wrote: > I am certainly in strong favor of a simple and visually distinctive > solution, and find that the leading bit helps a lot. But I would probably > have written that as: > > die <<POEM =~ /[^!]*/g; > ! The old lie > ! Dulce et decorum est > ! Pro patria mori. > POEM > > save for the whitespace on " POEM". But Tom, that preserves all the white space both before and after the '!'! Michael's goal is to eliminate the leading white space, although he didn't like the '!' bit. So I'm not sure how you'd have written that if you'd have done it to the specification. -- Glenn ===== Even if you're on the right track, you'll get run over if you just sit there. -- Will Rogers _______________________________________________ Why pay for something you could get for free? NetZero provides FREE Internet Access and Email http://www.netzero.net/download/index.html
- Re: RFC 111 (v3) Here Docs Ter... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Ter... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Ter... Richard Proctor
- Re: RFC 111 (v3) Here Docs Ter... Michael G Schwern
- Re: RFC 111 (v3) Here Docs Ter... Richard Proctor
- Re: RFC 111 (v3) Here Docs Ter... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Ter... Nathan Wiger
- Re: RFC 111 (v3) Here Docs Ter... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Ter... Tom Christiansen
- Re: RFC 111 (v3) Here Docs Ter... Tom Christiansen
- Re: RFC 111 (v3) Here Docs Ter... Glenn Linderman
- Re: RFC 111 (v3) Here Docs Ter... Tom Christiansen
- Re: RFC 111 (v3) Here Docs Termina... Bart Lateur
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... H . Merijn Brand
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Richard Proctor
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Eric Roode
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Eric Roode
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitesp... Richard Proctor
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Richard Proctor
- Re: RFC 111 (v3) Here Docs Terminators (Was Whitespace a... Eric Roode