php is a specialised web-development language which therefore gets the beginner started faster within the narrow remit of webpage development. Perl is a more general and flexible language that can be used in conjunction with existing specialised CPAN modules for the specialised work.
Although the beginner can get started faster with php than perl, there is a fixed limit to productivity with php. Perl is slower getting started because it has a wider capability that isn't packaged into a web-focused language, but which offers wider functional coverage and much higher productivity over the longer term. I would say it therefore depends on how committed your role is to web development. The more committed over the longer term, the more payback from taking the time to use perl to build up a more productive and flexible shop than is possible with php and which would overtake the php capability within a few months. But for a one-off short project, php is likely to get results faster.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||