Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • I reckon the number one reason why PHP has taken over from Perl in the web space is simply deployment. Compare installing (say) wordpress to any mod_perl app om this planet. Then consider setting up a development version. In the same server. It rapidly gets very difficult.

    The mod_perl architecture is oriented towards speed, not necessarily simplicity. Whilst this is good in some ways, it's definitely offputting to beginners.


  • I also chatted with Marcus Börger for a while and discovered that he has a much better understanding of OO than most programmers out there. Then I discovered that he's the speaker for the PHP OO tutorial. A bit of further digging revealed that he's been around the block a few times. How many Perl folk know anyone associated with PHP? We're shooting ourselves in the foot by not paying attention.

    Yeah, PHP isn't really quite as terrible as many people say. Especially now that it has a decent OO syste

    • In addition, it has not just one, but two built-ins for calculating the date of Easter: easter_date() [] and easter_days() []. It's hard to beat, that way.

      But, seriously: its OO system is pretty decent.

      In comparison to Perl, I do find standard Perl's flattening of lists, much easier to work with than PHP's arrays. Very often, it results in a much small number of required code lines for selected snippets in Perl than in PHP, for the same functionality.

      PHP's popularity has much more to do with its ease of deployme
      • PHP's popularity has much more to do with its ease of deployment, than with the lanuage itself. Because superior, it is not.

        Superior to what? If I could easily write in any language I would probably still be using Lisp for most of my code :-)

        Given a choice between PHP and Perl I'd certainly pick Perl. Given a choice between PHP and Java - I'm not so sure.

        Yeah it's hideously idiosyncratic in places, but it's got a vaguely decent OO system (in some ways better than Perl's) and it's sitting on every w

        • I don't think PHP is a toy language, but you seem to be saying PHP5 is the answer, and PHP5 is not "sitting on every web host on the planet". And the Easter builtins seem more likely to be useful than the builtins for the French revolutionary calendar [].
          • but you seem to be saying PHP5 is the answer

            That wasn't my intent. It's a non-trivial improvement certainly, but you can still write reasonable code without that much effort in PHP4.

            PHP3 on the other hand :-)

            I'm just agreeing with Ovid that the seeming instinctual reaction of some Perl developers to start frothing at the mouth and spitting venom at the merest hint that PHP can do useful stuff does more harm than good.

    • PHP is terrible. It is terrible much in the way that shell is terrible.

      I write quite a bit of shell.

  • It's been years since I've seen a holy-war between open-source technologies. I'm sure they still happen, but thankfully not in my neck of the woods.

    Australia seems to be very good at having combined open source conferences [], combined user group meetings [] and even combined drinks []. We are at one with our open source sisters and brothers or at least nobody is game to play up while I'm watching. I'm glad to hear that similar get-togethers are happening, at least informally, in both the nothern and s

  • While I'm not in attendance this year, I spent the last two OSCONs with a nice mix of both Perl and PHP folk. Two of them were Geoff [] and Chris Shiflett [], who actually went on to present a talk called Testing PHP with Perl at ApacheCon. And Chris even drove up with us to YAPC::NA last year, just to hang out (and drink til 5 AM). It's nice to stir the melting pot of programmers every once in a while.