Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
    I'd like to do it in perl, but my boss would like php. Ideally, I'd like to choose the language that would be best for the project. If I really want to do it in perl, he'll let me.

To me, this sounds less like a question about technology and more a question about psychology. So, why does your boss prefer PHP?

It could be that it's a comfort zone thing .. the boss has looked at PHP examples and looked at Perl examples, and the PHP ones looked much clearer.

Either language will be easy to maintain -- you can use Perl with a page templating system (like Template::Toolkit, the one I use) and make the source code look very PHP-ish.

Frankly, it sounds like this is a simple enough project that you could do it in PHP no problems. If you've managed to learn Perl with any level of proficiency, I'm fairly sure PHP won't be much of a challenge.

And, of course, once finished you could try doing the same project in Perl and see how much better it is. ;)

Let us know how it all turns out.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

In reply to Re: perl vs. php by talexb
in thread perl vs. php by Anonymous Monk

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!
  • 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, 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
  • 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.
  • Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (3)
    As of 2015-10-10 10:24 GMT
    Find Nodes?
      Voting Booth?

      Does Humor Belong in Programming?

      Results (255 votes), past polls