Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • (Rot-13'ed)
    Lbh'er zbqvslvat gur inyhrf bs gur cnenzrgre yvfg juvpu ner nyvnfrq gb gur inyhrf bs gur inevnoyrf va gur pnyyre'f fpbcr, gurersber zbqvslvat gur pnyyre'f fpbcr, be va guvf pnfr, "ernq-bayl inyhrf".

    Of course, your tests should have found this instantly, if you used something like the examples you have there, as it throws up an immediate error.

    Why does Perl do this? It's bitten me in the ass a few times, and I can't seriously imagine using it deliberately in code to be maintained.
    • Why does Perl do this? It's bitten me in the ass a few times, and I can't seriously imagine using it deliberately in code to be maintained.

      I believe Larry also considers this to be a mistaken ‘feature’: in Perl 6 sbe nyvnfrf ner ernq-bayl ol qrsnhyg, which would've avoided this bug.

      (The bit in italics is a spoiler for the original question, so I've put it in Welsh ... erm, I mean rot-13.)

      Smylers