in reply to brian's Guide to Solving Any Perl Problem

Excellent writeup.

Off topic, I have to comment on introductory regexp:

s/girlfriend/wife/
Boy, one can encapsulate a huge amount of life change in 18 chars of perl!

Also it is good you did't have to use the /g modifier there!

Replies are listed 'Best First'.
Re^2: brian's Guide to Solving Any Perl Problem
by tinita (Parson) on Nov 07, 2006 at 00:10 UTC
    that can be shortened:
    tr/glrind/wi/d;
    =)
      Could someone explain what exactly does it do?
      tr/glrind/wi/d
      Thanks.
        It replaces g with w and l with i, and deletes the characters rind. Therefore,
        girlfriend w--if--e--
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ