But everytime when I use one of the xml parser modules (twig, simple, etc.) I got errors.
With the code from superdoc I get following error:
syntax error at line 1, column 0, byte 0 at C:/Perl/site/lib/XML/Parser.pm line 187
The only thing I changed, was instead of the $xfile=text, I wrote $xfile="data.xml";
Why the hell it's so difficult to use the perl xml modules?