Lets not get into a religious debate here... but know that I programmed webscripts in Perl for 2 years before I found PHP, and became quite adept at the language for what I used it for. (no master, by any means... but I learned it to the point that I stopped having to look at language references more than once a week or so)

Many perl hackers haven't seen enough "mature" PHP code to form a valid opinion about it. They see the quick hacks that some of PHP's features allow... but I don't use any of those now. My PHP skill is now far superior to my Perl skill, and the PHP code that I write is cleaner, tighter, and safer than my Perl code. Also, I grew up on C. PHP almost exactly copies C syntax, which keeps me happy.

Stuff like automatically setting GET, POST, and cookie variables as global is a really bad idea, and a huge security hole. Do you let your users arbitrarily set variables in your scripts? I didn't think so. Neither do I. My PHP code wouldn't generate even a single warning if there was a strict option in PHP.

In reply to Re: Re: Re: Re: Are we obsessed with CGI? by mortenal
in thread Are we obsessed with CGI? by rinceWind

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.