So I don't know what the issue is, but I would suggest that the first thing you should do is take XML::Twig out of it. Just try to print the contents of the file after the header and see if that looks reasonable. Print it to a file and see if XML::Twig is happy with that. Then proceed from there.
In reply to Re (tilly) 1: Preprocessing STDIN
by tilly
in thread Preprocessing STDIN
by uuoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |