Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

could not find ParserDetails.ini

by samurai_from_india (Initiate)
on Apr 22, 2004 at 09:49 UTC ( #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'
};


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

Comment on could not find ParserDetails.ini
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
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? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-07-06 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls