could not find ParserDetails.ini in /PerlApp/XML/SAX

perl India
  • 14 years ago

    hi friends,


    i'm the bigginner in perl.


    very first i would like to provide you some info about my system on which i'm working

    Platform:-Windowsxp

    server:-IIS6.0

    perl :activestate perl version 5.8.8.817


    well, i made a executable file i.e. "search.exe" from "search.pl" (perl application file) using PDK (Perl developement kit).

    now ,when itest this exe then it gave me the following error..


    Code:

    could not find ParserDetails.ini in /PerlApp/XML/SAX
    Can't locate object method "new" via package "XML::SAX::PurePerl" at /PerlApp/XML/SAX/ParserFactory.pm line 43.


    whether i have installed this module and when i'm running this search.pl file directly on command then it is working absolutly fine.

    but the exe is giving error.


    it might be because of somewhere PDK is not getting that module so ...

    if any body know about this problem then plz help....


    let me know if anybody require more detail..


    Thanks in advance
    Ashwani























  • 14 years ago
     hello friends ,

    i have solve this problem but for future help to others i 'm posting that soltution too..
    solution:-


    use strict;
    use XML::Simple;
    $XML::Simple::PREFERRED_PARSER = "XML::SAX::PurePerl";
    use XML::SAX::PurePerl;


    or you can check these followong links
    http://www.mail-archive.com/[email protected]/msg02007.html
    http://www.ubuntuforums.org/showthread.php?t=84328
    http://aspn.activestate.com/ASPN/Mail/Message/pdk/2017446
    http://aspn.activestate.com/ASPN/Mail/Message/pdk/2016491

    Thanks
    Ashwani
















Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity.” - Dennis Ritchie