I'm not impressed by your example of doing little things. Even in
C (which I don't recommend as a first language), it's easy to do -
in fact, it translates almost token for token. It's like saying
a Ferrari is a good car to learn driving with because it's easy
to turn on the headlights.
You say that Java isn't your idea of a lightweight language. I don't
disagree with that, but hopefully you aren't suggesting that Perl is.
Perl is far from being lightweight language, in all aspects. It has
a syntax hardly anyone, including wizards with more than five years
of experience, can fully remember, and it has a very wide range of
primitives. I doubt there's a language with a significant user base
out there that has such a complex function to open a file. It was only
yesterday that on perlmonks people were confused about 1-arg open.
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||