They call Perl “the Swiss Army® Knife of practical computer programming” for, I think, two main reasons:
It’s very efficient at ripping huge files of strings apart (with its excellent regular-expression implementation), building complex data-structures in memory (with its references system and its very powerful hash-tables), and thereby efficiently doing the sort of things that we “do for a living.”
CPAN ... need I say more. Many thousands of modules which you can “simply retrieve and drop in,” in order to do just about anything you can imagine. The modules adapt themselves to your system as necessary and rigorously self-test themselves, so you have a high degree of confidence in them. This one thing is, to me at least, what Perl is all about.
And I will simply stop short of any “Perl vs. that” arguments, because such a thing just doesn’t make any sense. Most of us use several languages all the time, and have used many more. (Given sufficient Pepto-Bismol® and in-flight barf-bags, that even includes Java.) ;-) Perl is a well-built system ... a little quirky, sure, but aren’t they all. When you want to haul a train-load of revenue freight, you look at the power and the dependability of the locomotive, not its quirks. Asserting that you have found one language to be good in this regard, doesn’t speak ill of any other one, and also doesn’t mean that you don’t regularly use them also.
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- 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
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||