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

Reply via email to