Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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/ line 147, <ACOUT> line 69.

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

Your help would be greatly appreciated.



Comment on perl2exe Error
Select or Download Code
Replies are listed 'Best First'.
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 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?


        Take a look at pp.

Re: perl2exe Error
by regexes (Hermit) on Nov 19, 2009 at 11:52 UTC

    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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2015-09-03 10:05 GMT
Find Nodes?
    Voting Booth?

    My preferred temperature scale is:

    Results (105 votes), past polls