Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
For me personally, my boss on my first co-op work term gave me an outdated Perl script I needed to update and translate to Java. I said "I don't know Perl", and he handed me the Camel Book.
I found Perl somewhat odd at first, coming from a Java viewpoint. I was worried that loose typing would "guess wrong" and use a number where I meant a string or vice versa. Also, subroutine parameters being passed as a flat array was a little mind-bending. But I made the translation. As I did so, I became increasingly astonished and then appalled by the size difference. The final Java was missing a major block of features that were deemed unnecessary, and it was still nearly 500 lines to the 180 of Perl. So I learned from the Camel Book, and the PerlMonks Tutorials, as well as other threads on the monastery and of course the perldocs. I later read Higher Order Perl, and it broadened my mind with functional programming concepts. More recent forays into Haskell have done so even more, and I am now grateful for Perl's tasty blend of functional and imperative concepts. As to my schooling, Perl has always been a dirty secret. They would never actually countenance teaching something so vulgar, but if you corner one of the profs they'll admit that it's an essential tool. In reply to Re: The Road to Enlightenment?
by bradenshep
|
|