After far too many hours work over the last four days, a contender has emerged for my favourite use of Perl, with a close contender for second place.

Helping me sort out bunches of

  1. Windows -> unix challenged muppets :
    perl -pi -e 's/\r//g;' *html
  2. Muppets from the school of hyper-tabfrenzied-indentation :
    perl -pi -e 's/\t/ /g;' *html