Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Perl to Exe throws error using pp command

by madtoperl (Hermit)
on Nov 28, 2009 at 12:16 UTC ( [id://809877] : perlquestion . print w/replies, xml ) Need Help??

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

Dear Monks,
I tried to convert a .pl file to .exe file using pp. But i am getting the following error during conversion. I am trying to compare two xml files using the below modules and doing some more operations.Could you please help me here to solve this error.
###################################################################### +########## use strict; no strict 'subs'; use warnings; use Getopt::Long; use File::Copy; use Cwd; use XML::SemanticDiff; use XML::SemanticCompare; use XML::LibXML; #use Win32; #use Win32::Process; use Socket; ###################################################################### +############## print "Here is the testing of perl2exe using perl app";

Output Error Message: PAR::StrippedPARL::Static->get_raw() did not return the raw binary dat +a for a PA R loader at C:/Perl/lib/PAR/StrippedPARL/Base.pm line 141, <DATA> line + 1. Could not write temporary parl (class PAR::StrippedPARL::Static) to fi +le 'C:\DOC UME~1\tcsrangs\LOCALS~1\Temp\1\parle5Y0.exe' at C:/Perl/lib/PAR/Stripp +edPARL/Bas e.pm line 65, <DATA> line 1. C:\Perl\bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Stat +ic' to fil e 'parlz7sxgss.exe' at C:/Perl/lib/PAR/Packer.pm line 1171, <DATA> lin +e 1.
Thanks,
madtoperl

Replies are listed 'Best First'.
Re: Perl to Exe throws error using pp command
by marto (Cardinal) on Nov 28, 2009 at 17:01 UTC
Re: Perl to Exe throws error using pp command
by Anonymous Monk on Nov 28, 2009 at 13:00 UTC
    Upgrade