in reply to Pattern Matching Problem

You'll want to use m//mg to match on a multi-line string (and undef $/ or something :), but the .. as davorg is a simpler way of doing it.

/brother t0mas