What's the best online source to learn Perl? [closed]
Asked Answered
L

11

23

I am new to any scripting language. But, still I worked on scripting a bit like tailoring other scripts to work for my purpose. For me, what is the best online resource to learn Perl?

Leicester answered 16/9, 2008 at 9:7 Comment(2)
hackr.io/tutorials/learn-perl is a great place to find best online Perl tutorials. All the tutorials here are submitted and recommended (upvoted like SO) by the programming community.Kehr
There are some courses here from several providers: coorsy.com/topics/perlOffbeat
U
33

If you already know a bit of perl, PerlMonks is a great online resource. You can ask questions in their Seekers of Perl Wisdom section and the answers are often of very high quality. Many people who keep up with the latest developments in Perl hang out there.

As an added bonus, if you ask a clear question, many times the people there take the time to look at the underlying problem and will point out alternate approaches rather than simply taking your question at face value.

Unanimous answered 16/9, 2008 at 9:11 Comment(1)
Second this: PerlMonks' community is, for Perl,even beyond what StackOverflow hopes to be for programming in general.Cathodoluminescence
S
11

I realize that the question is about online sources, but I taught myself Perl in about three weeks thanks to the following books:

Learning Perl

Intermediate Perl

I already had a little bit of background knowledge in C, but the way these books teach is phenomenal. Scripts I've written in Perl are currently powering the data analysis process used by some instrument teams on the UA/NASA Phoenix Mars Lander - and I'm a junior in college! If it's good enough for NASA, it's good enough for you :)

Screens answered 17/9, 2008 at 3:48 Comment(2)
Those books are available online as part of Safari. :)Stace
I second (and vote up) Learning Perl, now in its 5th edition, including brian d foy as an author. I learned from the 3rd edition, which I still turn to for its concise explanations of things I forget.Series
A
9

The perldoc documentation is the best source for understanding how to use the language well.

The camel book "Programming Perl" is an excellent printed reference with thorough explanations written by the same people who wrote the perldocs (other books with animals on them are mostly ok.) Beware online tutorials - many of them teach very sloppy perl.

Use 'warnings' and 'strict' - then perl will be very helpful in pointing out your errors.

Perlmonks is also great (they will also tell you to use 'warnings' and 'strict'.)

And then you have to learn the CPAN one module at a time (which is where perlmonks and mailing lists are very helpful.)

Assignat answered 16/9, 2008 at 10:6 Comment(0)
T
6

http://learn.perl.org/

From the Online Library:

Tirpitz answered 16/9, 2008 at 11:38 Comment(1)
See also the Perl Tutorial Hub that reviews online Perl tutorials and will help you to distinguish good ones. Done by members of the Perl community.Fullmer
C
3

I highly recommend starting with Simon Cozens' Beginning Perl book.

And also, reading the Perl documentation.

Correctitude answered 16/9, 2008 at 9:17 Comment(0)
C
3

Perl is in a state of (comparatively) rapid change, and has gotten into the position where the best documentation beyond a basic introduction to Perl 5 -- the current major version -- is the electronic documentation which comes with the language itself.

Read 'perldoc perlintro', then look to 'perldoc perl' for the rest of the core language documentation. Note that on Debian systems, you'll need to 'apt-get install perl-doc' to get this documentation.

Once you've got a handle on things, check out 'perldoc perldelta' to see what's new in the version of Perl installed on your system (which should be 5.8.8 or 5.10 these days -- much cool stuff in 5.10!). If the perldelta page isn't making any sense (and believe me, I remember how that feels), just come back to it later.

Finally, freenode #perl for questions you can't find answers to in the docs.

Colemancolemanite answered 16/9, 2008 at 9:32 Comment(1)
Perl surely is not changing much at all these days. What is changing is the set of community best practices.Selfmade
R
3

The Official Perl 5 Wiki is a great resource with lots of info and links, and it aims to be beginner-friendly.

Also see the bottom of the wiki home page for the latest headlines from the Planet Perl feed aggregator. It's useful to skim over every few days, because it sometimes answers questions that you didn't know enough to ask, but which you should be asking.

Riancho answered 30/9, 2008 at 15:5 Comment(0)
S
2

If you are a beginner, I would suggest you take a look at the cookbook provided by PLEAC. You can find it at http://pleac.sf.net. There you can find cookbooks for most languages.

Sclaff answered 16/9, 2008 at 9:9 Comment(0)
D
2

I would very much recommend Programming Perl, but beware you may need a subscription to Safari in order to read it online.

Db answered 16/9, 2008 at 10:27 Comment(0)
K
2

As other people noted, the online book Beginning Perl has a good reputation and is written by a very clueful expert and active Perl contributor. Other than that, I concentrated resources for beginners in the Perl Beginners' Site, and you can probably find something there that would be to your liking.

Kalisz answered 16/9, 2008 at 12:39 Comment(0)
A
2

A new resource is chromatic's Modern Perl, which is available for free online, though you may purchase a paper copy if you prefer.

Astri answered 2/9, 2011 at 12:5 Comment(1)
It is indeed a very good and concise way of learning Perl 5.Gallego

© 2022 - 2024 — McMap. All rights reserved.