XML::Parser errors
by Sabrina Ahmed other posts by this author
Jul 25 2000 12:22PM messages near this date
view in the new Beta List Site
Re: XML::Twig '0' PCDATA erased?
|
Re: XML::Parser errors
Hi all,
I am trying to create simple perl files to parse my xml documents and am =
using XML::Parser. However, in the scripts i have written, i keep =
getting the same error so i am wondering if i am doing something =
fundamentally wrong. My scripts are just to parse an xml file and give =
the info as html. i am doing a web-based project to describe information =
about images and basically want the perl script to parse the xml =
document and show the relevent information in a web environment. =
However, even my test scripts aren't working. the error i get is:
Global symbol "$p1" requires explicit package name at ./xmltest.pl line =
6.
Execution of ./xmltest.pl aborted due to compilation errors.
I have looked at perldoc XML::Parser to try and get more information but =
to no avail. Is there fundamentally something I am missing and do i have =
to specify the actual file to parse or will the parser recognise the =
files with an .xml extension. Hope you can help,
thanks a lot,
Sabrina.
Attachments:
unknown1
Thread:
Sabrina Ahmed
Ian Boreham
John Cope
|