in reply to Will regex work here?

You really can't use a regexp across a \n, unless you suck the whole file in... then it gets rather nasty.

The XML modules would help, as well as some code from my chatterbox client if you want to code it by hand.

--
$Stalag99{"URL"}="http://stalag99.keenspace.com";

Replies are listed 'Best First'.
Re: Re: Will regex work here?
by Sherlock (Deacon) on Apr 25, 2001 at 00:31 UTC
    For simplicity, the entire XML file is on one line. It isn't edited by hand, so that worked out fine. Therefore, there aren't any \n characters in the XML file. I just printed it that way so that people could understand the XML a little better.

    I should have stated that in my original post. Sorry.

    - Sherlock