I'm not really sure which regex syntax I dislike more, truth be told -- PHP's or Python's. I think I dislike PHP's more. I actually have occasional need to use regular expressions for stuff I essentially am forced to do with PHP, though, so I've resigned myself to it. The same circumstance doesn't exist for Python, in part because I've managed to avoid having to become competent in Python (I don't actually like Python at all and don't care to learn it if I can avoid it, because the more I like it the more I'll find myself being asked to use it).

Python's a great language, of course. I can look at it somewhat objectively and realize that. It just makes my eyes bleed and lacks some capabilities that are pretty much essential to my enjoyment of programming.

print substr("Just another Perl hacker", 0, -2);
- apotheon
CopyWrite Chad Perrin


In reply to Re^6: Perl is dying by apotheon
in thread Perl is dying by Anonymous Monk

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.