A few nits with the regex bits (these are common traps, even for experts):

A few possible additions:


In reply to Re: Perl cheat sheet by TheDamian
in thread Perl cheat sheet by Juerd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":