You've ignored something I've said. perl is more than just mason. If you wish to do database work, you have DBI and tonnes of DBDs you can install. You have Class::DBI and many other forms of data access. You have modules for PDF, Word. Mason doesn't support it outright, where php directly does.

In php-land, some large portion "modules" are actually c extension for php.

In php, you have the mysql_*, postgresql_* and the direct db functions and that's about it. Yes, pear is an abstraction layer, but nothing beyond abstraction has been done yet. perl has various forms of data access as i've stated before.

In perl, modules go into a namespace with a PERL5LIB path. Most of your code is written IN perl.

In php, you are limited to includes which don't use a lib path where most of your modules are written in c.

You can't write a multithreaded php application.

And there are differences between php and mason post installation. To add modules is completely different between the languages.

php is a web language first, and a programming language second. perl is a programming language first, and a web technology second. the internals and the language design lead toward this.

I could go on and on. but please, stop ignoring that this is perl vs php, not mason vs php. Mason is cute, and it mimics php.


In reply to Re^5: The REAL reason for why they choose PHP over Perl. by exussum0
in thread The REAL reason for why they choose PHP over Perl. by Spidy

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.