Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

PHP survived because it takes nearly no programming skills at all and appeared at the jump when the best Perl options (modperl, fastcgi) were hard to install and the other good high level languages had no real web presence; 15 years ago. This is also why nearly everything done with PHP has been plagued by security problems. If you like the style, stick with it. You can absolutely do the same thing in Perl but it would be silly.

  • Catalyst is a decade old already. Mojo isn’t going anywhere. Dancer has a big community. Packages like Template::Toolkit and DBIx::Class have dozens and dozens of contributors, like me and a few other monks.
  • No. Perl6 is not ready and it is a much more sophisticated language than Perl5 and PHP. It will not reward junior devs but punish them. It will be one–two years after its first real release when solid frameworks will appear. Till then, here be little but dragons.
  • Every web framework has sessions out of the box and Mojo in particular is more secure out of the box. PHP on the other hand is trivial to screw up and write insecure code and there are ooooooodles of terrible examples and advice for it out there. It’s basically guaranteed to mess up if you don’t know good practices. Perl is also… but not as badly or automatically. The community has a strong sense of best practices v dangerous practices.
  • Everything in Perl is easy to install excepting some XS/Image packages. perlbrew (update, fixed link), App::cpanm, etc.

In reply to Re^4: perl as a php alternative by Your Mother
in thread perl as a php alternative by iaw4

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found