I agree with Javafan. Your code is a bit messy and difficult to make sense of. Starting from scratch might not be such a bad idea. In general if you have to deal with XML documents it's better to use a parser, e.g. XML::LibXML. The way you do it often backfires, a slight change to the xml format probably means "surprise".
In reply to Re: file handling error
by dHarry
in thread file handling error
by satzbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |