John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
I note that my filename is correct -- no stray \n's or other oddities. This is right out of the Synopsys of the documentation for Twig 3.00.sub process_file ($) { my $filename= shift; my $twig= new XML::Twig(); print "filename: [$filename]\n"; $twig->parse ($filename); # $twig->print; }
So what happens? I get
Huh? —Johnnot well-formed at line 1, column 2, byte 2 at C:/Program Files/Langua +ges/Perl/site/lib/XML/Parser.pm line 168
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
The Answer
by John M. Dlugosz (Monsignor) on Nov 04, 2001 at 11:51 UTC |