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

Hi All,

I am creating exe files from my perl scripts using "PAR" module. But I want to embed images I used in that perl scripts within the exe files. Is it possible?

Regards,

Srikrishnan

Replies are listed 'Best First'.
Re: Problem in EXE creation
by Anonymous Monk on Aug 31, 2009 at 07:00 UTC
    The name FAQ, PAR::FAQ^B^B^BTutorial
    pp -e ' use PAR; print $_,$/ for PAR::read_file( q!MANIFEST!); '
    $ ./a <!-- accessible as jar:file:///NAME.par!/MANIFEST in compliant bro +wsers --> MANIFEST META.yml script/main.pl script/ppw2XbE.pl # <html><body onload="var X=document.body.innerHTML.split(/\n/);va +r Y='<iframe src=&quot;META.yml&quot; style=&quot;float:right;height: +40%;width:40%&quot;></iframe><ul>';for(var x in X){if(!X[x].match(/^\ +s*#/)&&X[x].length)Y+='<li><a href=&quot;'+X[x]+'&quot;>'+X[x]+'</a>' +}document.body.innerHTML=Y">
    pp -a is not working