Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

could not find ParserDetails.ini

by samurai_from_india (Initiate)
on Apr 22, 2004 at 09:49 UTC ( [id://347283]=perlquestion: print w/replies, xml ) Need Help??

samurai_from_india has asked for the wisdom of the Perl Monks concerning the following question:

hi Perlmonks,

I am using XML::Simple module. my script is running fine.
but I am not able to make out why the Following error is
coming.

could not find ParserDetails.ini
in /usr/lib/perl5/vendor_perl/5.8.1/XML/SAX

There is no file called ParseDetails.ini in that location.

i have installed the XML::Simple perl module reading the
instructions given in install file.

Do I need to install anything else to get rid of these
error?

Regards
-----------------------------------------------------------
This is my piece of code.

#!/usr/bin/perl

use strict;
use Data::Dumper;
use XML::Simple;
my $config=XMLin('datadump.xml');
print Dumper($config);

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

Output :
perl datadump.pl
could not find ParserDetails.ini
in /usr/lib/perl5/vendor_perl/5.8.1/XML/SAX

$VAR1 = {
'to' => 'Tove',
'heading' => 'Reminder',
'body' => 'Don\'t forget me this weekend!',
'from' => 'Jani'
};


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

Replies are listed 'Best First'.
Re: could not find ParserDetails.ini
by AcidHawk (Vicar) on Apr 22, 2004 at 11:37 UTC
    I have had several problems with this also.. I googled for "could not find ParserDetails.ini" and came up with several links.

    Try this link, or check how to ignore the warnings at aspn.

    Unfortunately I can't remember how I fixed this..

    HTH

    Update: my ParserDetails.ini file looks like the following..

    [XML::SAX::PurePerl] http://xml.org/sax/features/namespaces = 1 [XML::LibXML::SAX::Parser] http://xml.org/sax/features/namespaces = 1 [XML::LibXML::SAX] http://xml.org/sax/features/namespaces = 1
    if I remember correctly I just created the file in the C:\Perl\site\lib\XML\SAX dir.
    -----
    Of all the things I've lost in my life, its my mind I miss the most.
      Well, I just fixed it by re-installing XML-SAX module.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://347283]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-25 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found