help with XML::Xerces::LocalInputSource()

Anshuman Singh Rawat <[email protected]>
Newsgroups gmane.text.xml.xerces-p.devel
Message-ID <[email protected]>
Hi,
I am trying to use LocalInputSource() to parse an xml document contained in a variable 'body' ($parser->parse (XML::Xerces::LocalInputSource($body));) .

I am not sure if I am calling it correctly (I couldn;t find any example on how to use it).

I get the following errom messages - 

Use of inherited AUTOLOAD for non-method XML::Xerces::LocalInputSource() is deprecated at ./parse.pl line 349.
Error in eval: Can't locate auto/XML/Xerces/LocalInputS.al in @INC (@INC contains: /n/lion/u/lion2/rawat/XML-Xerces-2.3.0-4/samples/../blib/arch /n/lion/u/lion2/rawat/XML-Xerces-2.3.0-4/samples/../blib/lib ./lib /home/rawat/XML-Xerces-2.3.0-4/perl5/site_perl/5.8.0/i386-linux-thread-multi /home/rawat/MIME-tools-5.411/perl5/site_perl/5.8.0/i386-linux-thread-multi /home/rawat/MIME-tools-5.411/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./parse.pl line 349
 at ./parse.pl line 352

Any help in this regard will be appreciated.
Thanks,
Anshuman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.