Perl's way of creating and using data structures is one of my most favorite features. Once you learn the basics or arrays, hashes, and references, you can string them together to make any arbitrarily deep structure using very terse syntax. Writing in Java for school projects over the last 2 years, I spent most of my time reading through documentation about the myriad collection classes, some new and some leftover from older API revisions, catching exceptions that I knew would never get thrown anyway, and figuring out how many sets of parentheses I neede to use to typecast the result of a method call, instead of doing actual work. Perl usually stays out of your way and lets you concentrate more on important work rather than little technicalities. That also means that it can take a long time to learn how to do it right, and if you don't know what you're doing Perl will easily break and give you lots of weird errors (although I have to say C++ takes the cryptic-error cake). However, now that I've gotten to know Perl, as well as several other languages, Perl code is definitely quicker to write than anything else.


In reply to Re: If I was forced to program in another language, the Perl language feature I would miss most would be: by ailivac
in thread If I was forced to program in another language, the Perl language feature I would miss most would be: by grinder

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.