ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved