Slashdot Mirror


Damian Conway Publishes Exegesis 5

prostoalex writes "Come gather round Mongers, whatever you code, And admit that your forehead's about to explode, 'Cos Perl patterns induce complete brain overload, If there's source code you should be maintainin', Then you better start learnin' Perl 6 patterns soon, For the regexes, they are a-changin'. This remix of Bob Dylan serves as an epigraph to Exegesis 5."

4 of 125 comments (clear)

  1. Monty Python and the Holy Grail Sinking Castle by SimHacker · · Score: 4, Funny
    Perl is like the castle built by the king in Monty Python and the Holy Grail, that fell over and sank into the swamp. So he built another one. And that fell over and sank into the swamp too. And then he built another and another, and they all fell over and sank into the swamp. Then finally, he built a really big one, and that burned down, fell over, and sank into the swamp.

    -Don

    --
    Take a look and feel free: http://www.PieMenu.com
  2. Re:Hey, cut it out! by Covener · · Score: 2, Funny

    I'm doug, not Bob Dylan!

    <dad> Son, do you even know who Bob Dylan is?

    <doug> No, But I know he died of drugs.

    <dad> No Doug, he's alive and well, as a matter of fact I produced his last two albums.

    <doug> Oh Uncle Robert?

  3. Re:Beautiful! by merlyn · · Score: 3, Funny
    now I'm actually excited by the prospect of needing to buy a new llama book.
    Well, I certainly can't complain about that.
  4. T-Shirts by asobala · · Score: 2, Funny

    From the exegesis:

    The first thing to note is that, like a Perl 5 qr, a Perl 6 rx can take (almost) any delimiters we choose. The $hunk pattern uses {...}, but we could have used:

    rx/pattern/ # Standard
    rx[pattern] # Alternative bracket-delimiter style
    rx<pattern> # Alternative bracket-delimiter style
    rxforme # Délimiteurs très chic
    rx>pattern< # Inverted bracketing is allowed too (!)
    rxMuster # Begrenzungen im korrekten Auftrag
    rx!pattern! # Excited
    rx=pattern= # Unusual
    rx?pattern? # No special meaning in Perl 6
    rx#pattern# # Careful with these: they disable internal comments

    Are these allowed for the sole purpose of creating new T-Shirt patterns?