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::Simple Error
by Christopher Fulton other posts by this author
Dec 7 2004 9:34PM messages near this date
view in the new Beta List Site
Re: XML::Simple Error | Re: XML::SAX::ExpatXS vs recognized_string
hi

I am trying to get the following code to work on Solaris 8, Perl 5.8.0

-----------------------------
use XML::Simple;
use Data::Dumper;

use strict;

my $xmlobj = XML::Simple-> new();
my $xmldoc = $xmlobj-> XMLin('./sample.xml');

print Dumper($xmldoc);

-----------------------------

But i get the error :
Can't locate object method "new" via package "XML::SAX::PurePerl" at
/software/perl/5.8.0/lib/site_perl/5.8.0/XML/SAX/ParserFactory.pm line 43.

Am i missing out on something

Nitin




*********************************************************
Disclaimer:          

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Christopher Fulton
Mike
Christopher Fulton
Christopher Fulton

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