A few years ago I started perl101.org. My tag line was "What every Perl programmer should know," and the site would cover a wide range of basic topics.
The goal is not to cover the topics in depth, but give just enough of a taste to give the reader an idea of how to do something, and enough to go off of to investigate further. It's an FAQ of sorts, but of techniques.
The idea came from having the same questions asked over and over again in IRC.
- How do I remove elements from the middle of an array?
- How do write something to fetch web pages?
- How do I write a regex that doesn't match something?
I also want to show examples of the Right Way to do things, like using
chomp instead of
s/\n$//. I wanted to tell people about tools like
perldoc that I know many programmers don't even know exist.
Here's where you come in
I haven't done much with perl101 for a while, but I'd like to get it going again, fully awesome. I've put the code on github and I'm asking for contributions. Please pull a fork, add content to it, and let me know when your fork is ready to merge back to the master and I can republish. I'm specifically not making it a wiki, because I want to maintain editorial control to help keep it focused.
The site is also pretty ugly, and if you have better ideas for getting the content out there in an attractive way, I'd love to hear it.
There's also a perl101-talk mailing list and I welcome your participation there as well.
Let's put our collective heads together to help out newcomers to Perl!