Thanks. This was just what I was looking for. FYI, my problem doesn't involve parsing perl (thank $deity). It's a silly format that looks like XML but isn't. It was made up by some silly mormons.
If you need to parse something similar to XML maybe you
can use a modified version of Robert Cameron's
REX::XML,
which parses XML using regular expressions, a very nice piece of
work BTW