Well, for the last ten years I've probably written upwards of 50,000 lines of Perl and less than 500 lines of C/C++. I've been working in consulting and developing services at ISPs. Mind you, I wrote a RADIUS server, DNS server and part of an Email server in Perl. And many, many miscellaneous scripts in between. Like the ones I use to apply "configuration templates" in a network with hundreds of routers.

Could I have written all of this in other languages? Sure. But then I would have to multiply those lines by a factor of at least 4.

But I digress towards Perl's strengths. Certainly, there are times when you cannot afford some of the Perl's intrinsic tradeoffs. Or perhaps, times where you don't want to distribute your source code along with your executable. Those are the two only scenarios I could think (in my area of work) where Perl could be a second rate solution.

BTW, ++ to Marza for bringing such a (IMO) good and polemic question to the table.

Best regards

-lem, but some call me fokat


In reply to Re: Is there ever a time Perl is the wrong choice? by fokat
in thread Is there ever a time Perl is the wrong choice? by Marza

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.