Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

perl2exe Error

by chennaiite (Sexton)
on Nov 19, 2009 at 11:41 UTC ( #808132=perlquestion: print w/ replies, xml ) Need Help??
chennaiite has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I am using below modules for my XML comparison.

use XML::SemanticDiff; use XML::SemanticCompare; use XML::LibXML;

I installed those modules and could be able to finish my coding. It worked fine.

I started converting the script into exe using perl2exe. It was successful but when I try to run the exe, I am getting the belwo error message,

Could not find ParserDetails.ini in PERL2EXE_STORAGE/XML/SAX Can't use string ("1") as a HASH ref while "strict refs" in use at PER +L2EXE_STORAGE/XML/SemanticDiff.pm line 147, <ACOUT> line 69.

Also I did include the modules(Ex. #perl2exe_include "XML/SemanticDiff.pm";) inside my perl script but no success. could you please help how to fix this issue?

Your help would be greatly appreciated.

Thanks,

Chennaiite....

Comment on perl2exe Error
Select or Download Code
Re: perl2exe Error
by regexes (Hermit) on Nov 19, 2009 at 11:52 UTC
    Hello,

    Quick guess... since you mentioned ParserDetails.ini it seems to be an additional file which you need. This is not the same as including the module.

    Try looking at perl2exe_bundle filename from the Perl2Exe documentation.

    regexes
Re: perl2exe Error
by keszler (Priest) on Nov 19, 2009 at 11:57 UTC
    You need to add
    #perl2exe_bundle "/some/path/ParserDetails.ini"
    to the name.pl file on which you are running perl2exe.

    Search your @INC directories for that .ini file, then use the full path in the perl2exe_bundle line. That directive tells perl2exe to include the file in the .exe being created so that it is available to the program when the .exe is executed.

      Hi, I tried those steps, but No success.

      Is there any other way(any free software) to convert my perl script to exe?

      Thanks,

        Take a look at pp.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-09-22 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls