learning perl
-
Hi guys, whats the best way to learn perl fast. i know Java very well. :doh:
-
Hi guys, whats the best way to learn perl fast. i know Java very well. :doh:
I think the best way to learn Perl fast is to write lots of little Perl programs. There's no substitute for writing these little programs. Make little programs based on the examples that are here: http://perldoc.perl.org/perlintro.html[^] Also, look at the tutorials and FAQs as listed here: http://perldoc.perl.org/perl.html[^] If you're interested in using books to learn Perl, I highly recommend "the Llama book": http://shop.oreilly.com/product/9780596001322.do[^] Finally, if there's one thing that I learned late that I'd recommend learning early, it's learning the Perl debugger. http://perldoc.perl.org/perldebtut.html[^] Good luck!
-
I think the best way to learn Perl fast is to write lots of little Perl programs. There's no substitute for writing these little programs. Make little programs based on the examples that are here: http://perldoc.perl.org/perlintro.html[^] Also, look at the tutorials and FAQs as listed here: http://perldoc.perl.org/perl.html[^] If you're interested in using books to learn Perl, I highly recommend "the Llama book": http://shop.oreilly.com/product/9780596001322.do[^] Finally, if there's one thing that I learned late that I'd recommend learning early, it's learning the Perl debugger. http://perldoc.perl.org/perldebtut.html[^] Good luck!
Dowload a perl distro - install it and type perldoc perlintro and start reading. Also if you have an aversion to spending money download the following free book http://www.greglondon.com/iperl/[^ it'll get you going
-
Hi guys, whats the best way to learn perl fast. i know Java very well. :doh:
Here is how I learn most languages (this may just be me but it seems to work best). I am always impatient and respond to early success as most do. 1. Rapidly scan the online or offline doc to get a feel for it. This helps create a context. 2. Read some short examples written by others. Lookup the commands you don't understand, etc. Run the examples to see what they really do. 3. Pick a limited scope project. I often build a phone book app. This gives me a reference point on some constructs, syntax, pros and cons of the language. 4. Try your target project and learn as you go. Stay away from the more complex constructs at first. Learning them later is great and super productive in some cases, e.g. map. I have written a lot of Perl over the last 5 years. I often mix bash and Perl (plus some dialog for a simple GUI) to create console apps quickly. I don't find X-Windows necessary most of the time for what I need. I like bash with its new enhancements. Some things are still a lot easier in Perl. Sometimes using both on a project (assuming it will be used in *nix) is the best. To me Perl is not a dead language any more than bash is. The are just special purpose languages. If you need a general purpose language then use one. If you try to make a general purpose language special purpose then you may be taking the long way around. Why do that, other than the challenge?
"Courtesy is the product of a mature, disciplined mind ... ridicule is lack of the same - DPM"
-
Hi guys, whats the best way to learn perl fast. i know Java very well. :doh:
There is a learning perl book by O'Reilly. My advice is to skip the first chapter. Read the rest and come back to the first chapter.
-
Hi guys, whats the best way to learn perl fast. i know Java very well. :doh:
Phiri_code wrote:
whats the best way to learn perl fast.
Where "fast" means one day or one month? And "learn" means that you can maintain existing apps, write a shopping cart application from scratch or just write some simple code? Perl is significantly different than java. If you have significant experience in java with regexes then that would help in perl since you wouldn't need to relearn all of the rules there. However there is still semantics and libraries that one must learn.