background preloader

Perl

Facebook Twitter

Perl DBI FAQ - Gain DBI experience. Share DBI experience. Main Page - Easy Peasy wiki. Perl Regular Expressions. Troubleshooters.Com and Code Corner Present Copyright (C) 1998-2001 by Steve Litt Without regular expressions, Perl would be a fast development environment. Probably a little faster than VB for console apps. With the addition of regular expressions, Perl exceeds other RAD environments five to twenty-fold in the hands of an experienced practitioner, on console apps whose problem domains include parsing (and that's a heck of a lot of them).

Regular expressions is a HUGE area of knowledge, bordering on an art. Rather than regurgitate the contents of the Perl documentation or the plethora of Perl books at your local bookstore, this page will attempt to give you the 10% of regular expressions you'll use 90% of the time. Note that for this reason we assume all strings to be single-line strings containing no newline chars. Simple String Comparisons The most basic string comparison is $string =~ m/sought_text/; $string =~ m/^sought_text/; Similarly, the $ operator indicates "end of string". . . Ississ. Open Source Web Development Tutorials - Dev Shed. Robert's Perl Tutorial. A basic Perl course primarily for use on Win32 platforms. It assumes that the reader knows nothing of programming whatsoever, but needs a solid grounding for further work. After you finish this course you'll be ready to specialise in CGI, sysadmin or whatever you want to do with Perl.

What you need to know You need to be able to differentiate between a PC and a toaster. No programming experience is necessary. You do need to exercise the brain cells, and you need time. What you need to have A PC which can run a Win32 operating system. Note: You don't even need a Win32 PC if you are comfortable installing Perl under other operating systems like Linux, but not all the information here will be relevant. You don't need a complier. How to use this tutorial... Just work through from start to finish. Generally, the explanation follows the code sample. When you finish, please send me a critique. Conventions used in this Tutorial The humour is non-conventional.

Use of this document Personal Printouts 1. Open Source Institute - perl.