Xah Lee, 2005, ..., 2007
This is a tutorial on Perl and Python. The tutorial is concrete, practical, with a lot short example code that runs. It explains things as they function.
The Pyhton code examples given here are tested with version 2.6. The Perl is v5.8.1 (released 2003-09).
Basic Syntax
Lists
Misc
Functions, Objects, Modules
Files
String Pattern Matching (regex) Documentation
Regex
For a full-featured script that does find-replace in Perl, see: Find & Replace on Multiple Files with Perl
What is Expresiveness in a Computer Language
About The Author. Thanks to members of comp.lang.perl.misc and comp.lang.python for comments and corrections.
If you would like to download this work for reading offline, i'd very much appreciate a donation. In the comment field, please say “perl python tutorial zip file”. I'll email you the download link. Make sure your email address is included and correct.