This was the one that made me a Perl 6 convert! Up through A3, I was "unsure". With A4, I thought, "This could be OK." A5 made me stand up and yell, "Hallelujah!" (After which I had to convince the other people in the office to let me up off the ground....) I haven't gotten all the way through it even now, but I'm very impressed so far.

I use regexes a lot, and frankly, I hate the existing syntax. Simply recognizing that regexes are programs with an awful grammar ("They're programs, not strings") is a big step forward. Regularizing the interpolation rules and bracketing constructs is a great simplification. And I love the changes in the semantics of what constitutes a "line", the use of ^ . \Z and so on. It seems like every time I need to use /s or /m, first I have to go read perldoc perlre again to remember which is which.

Kudos to Larry for the guts and insight to replace an old crufty structure with this beautiful edifice. I have a little bit of precious free time coming up, and this convinced me to spend it helping out in the effort, doing whatever is needed.


In reply to Re: Apocalypse 5 and regexes by VSarkiss
in thread Apocalypse 5 and regexes by c-era

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.