I started learning Perl when I got a job as the head Perl programmer at a startup company! It was the primary tool for developing in the eCommerce package we decided on (InterShop), and we just tore in and thought we'd learn it together. I had programmed in C before and thought that it had some similarities-- but it was the differences that blew me away. I have to say that some of it is pretty unique. I think the real surprise for me was the ability to switch the order of things around:
#check for money in the account
reject_credit_card() if theres_no_money(account);
As far as elegance, I try to achieve it, but generally I try to get the thing to work first, then work on elegance. Being able to use other people's work from CPAN modules makes this a lot simpler.
Zeno - Barcelona Perl Mongers http://barcelona.pm.org
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||