This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Perl v.s. PHP
by Moonie (Friar) on Jan 23, 2002 at 06:20 UTC
      I regret that I have but one ++ to give. I probably should have done a search first, but seeing as our fellow monk seemed to be asking for a balanced answer I thought I would provide one.

      --
      perl -pe "s/\b;([st])/'\1/mg"

Re: Perl v.s. PHP
by belg4mit (Prior) on Jan 23, 2002 at 06:17 UTC
    I have been known to use both. One advantage is that PHP is relatively light-weight. PHP also has very tight binding to MySQL which is good, but it's also bad as it can cause problems with mod_perl etc.

    The thing that I really dislike about PHP is the variable syntax/concept (e.g. one sigil). The explosion of functions is also a little annoying.

    On the plus side it has PCRE (Perl Compatible Regular Expressions ;-)

    --
    perl -pe "s/\b;([st])/'\1/mg"