why does everyone seem to prefer PHP nowadays?
I don't know but may I play devils advocate for a moment.

I maintain a web site and am heavily committed to Perl. Both heavy duty HTML rewriting and a collection of CGI scripts (keyword search, site maps etc.). I have downloaded and have had a cursory look at PHP. My thinking at the moment is that if I wanted anything like that I'd go the SSI/Perl route but that is some way off.

Yesterday, after seeing many recommendations, I decided to install Template::Toolkit to see if it really was that much better than HTML::Template which I use at the moment.

As I use Activestate/Win I searched with ppm and found half a dozen or so of varying versions. Sadly all of them seem to be corrupted, an HTML page for laser printer ink catridges was displayed :-)

I installed it from cpan. Slightly dismayed by the "if you haven't got a compiler you'll have to use the _really slow__ version" I persevered. There were only two tests and both failed. I don't have a background in programing and this is usually enough to have me skuttling away to look for something else.

The point for me is that I was able to ask in the chatterbox. I was advised that this was almost certainly a command line quoting issue and given a pointer on what to do if I was worried about it. This was a great relief, it wasn't me being stupid.

This sort of thing has happened many times although often it is because I can be a bit slow on the uptake :-)

Of course it is impossible to say but I don't how long I would I would have stuck it out if it hadn't been for the monks patiently persevering with me. Combined with some excellent books (recommended here) I've managed to learn enough to do the tasks I need. I think Perl is great. But I do sympathise with anyone starting out and wondering which route to take. "There but for the grace of God...".

In a weeks time I'll have been a monk for two years. I would like to take this opportunity to thank all the monks that helped me along the way. I've thoroughly enjoyed meeting you all.

Again, many thanks!


In reply to Re: The REAL reason for why they choose PHP over Perl. by wfsp
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.