Well, PHP is horrible for sorting any sort of nested structure (I haven't yet figured out how to do it), and figuring out the proper format for regex under PHP is also a pain. Plus, everything just seems to take twice as long to type. On the other hand, PHP can be inserted inside your page, so I've found it easiest to write simple things in PHP and difficult things (or things that have to be called by cron jobs) in Perl. This way I don't have to mess with templating systems.
Bottom line, take the job that pays best and learn PHP - you're not selling out, Perl isn't necessarily the best solution to everything - but steer the company towards Perl for any admin or data processing work. Perl offers the most gain when its strengths are catered to. I never use PHP for anything complicated, it's just that many things aren't complicated.
I doubt you're going to find a company already using PHP that will let you switch them entirely to Perl, unless you happen to be their only programmer and can show that you produce working solutions many times faster in Perl.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.