Don't worry, you are not the only one who uses perl for non-CGI programming. I mean, I use perl to maintain and support ADA, so beat that :)

In response to your comments about PHP not being used for much other than CGI you are correct. PHP developers and advocates say that you can use it for non-CGI programming, and I have seen examples of this, but it has not caught on. Why? I'm not sure, I think it may be because that for non web applications, most people prefer perl, *sh, or python. Another reason why PHP is not used for non web applications is that perl is much superior in that respect. The reasons are CPAN, and a less focused language. PHP was developed mainly for web programming, while perl was developed for... um.... well, because Larry Wall was lazy I guess, which led to the wonderful world of CPAN and modules.

Also, in response to the main node:

Another thing to think about in your choice of a language for web development is security. Some of the basic, default behavior of PHP is(was) a security problem. I don't have any specific evidence at the moment, but I know there were several big security issues regarding PHP. These issues don't apply to well designed sites, but were very easy for beginners to make.

I'm not saying that perl is better than PHP, or that PHP shouldn't be used, I'm just saying use whichever language suits your needs, and you feel more comfortable to use for programming a secure environment

--xPhase


In reply to Re: Re: PHP vs. Perl for the 10,000th time by xphase_work
in thread PHP vs. Perl for the 10,000th time by kha0z

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.