Lots of reasons not to use perl :-)

Speed. Sometimes you need to do something faster than perl can.

Space. Perl's data structures are optimised for speed rather than memory usage. Sometimes that can cause problems if you're dealing with lots of data.

Appropropriate functionality. If I have to write a multi-platform GUI I'd probably pick Java/Swing over any of the current perl solutions. If I have to do a lot of predicate logic stuff I'd pick Prolog over current perl solutions. Etc.

I use perl most of the time - but only because perl is the best solution for most of the stuff that I write ;-)

There are also non-technical reasons.

For example, if you have a project that is mostly in language X, then it's probably easier to keep everything in X rather than switch part of it over to perl, even if its more suitable technically.

I switched part of a web project over to perl when most of the rest was C++ (because DBI & LWP made things almost trivial).

Bad decision on my part.

The extra overhead of another language (the glue between perl/C++, different style of test suite, having some of the team not understand what it did, etc.) caused far more problems that making part of the project easier to implement.


In reply to Re: Is there ever a time Perl is the wrong choice? by adrianh
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.