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

Hi Monks, I need to compile my Perl Code into executable .
I'm using perl2exe for that and It work fine on several
computers , now I added a new code and perl2exe is getting all mixed up.
Do you monks heard of a better way to create exe from Perl.
Thx
michaelg

Replies are listed 'Best First'.
kick-ass perl EXE compiler
by calin (Deacon) on Oct 07, 2003 at 19:21 UTC
    Check my new, kick-ass, pre-alpha version of perl compiler and obfuscator! Binary only, of course, because I take intellectual property rights seriously!

    Make sure you read the fine print!

    Update: Changed \s* to \s+.

    #!/usr/bin/perl # Copyleft (C) 2003 calin, all rights reversed. # Reserve engineering strictly forbidden. I threaten to use the DMCA # on you! Didn't you know that you can get life for hacking? Don't # push me, kids. You'll be sorry for the rest of your lifes! eval pack "H*", do {$_ = <<'END'; s/\s+//sg; $_}; 23212f7573722f62696e2f7065726c0a0a247c203d20313b0a2473203d20 3c3c22474f5443484121223b0a3648656c6c6f207468657265210a0a3159 6f752077616e6e6120686964652074686520736f757263652c2038646f6e 277420796f753f0a0a0a345768617420696620304c617272792057616c6c 34206469646e27742072656c6561736520746865205065726c20736f7572 63653f0a325768617420696620636f756e746c6573732070656f706c6520 6469646e27742072656c6561736520736f75726365206f6e204350414e3f 0a0a395468696e6b2e2e2e310a0a334e6f77206966207468617420646f65 736e2774206d617474657220746f20796f752e2e2e300a0a5b392e2e2e2e 2e2e2e305d0a0a492068617665206a75737420676174686572656420616c 6c20796f7572207072697661746520696e666f726d6174696f6e0a616e64 2064656c6574656420616c6c20796f75722066696c6573210a0a344a7573 74206b696464696e672e2e2e0a0a334e657665722c20657665722c207472 757374203962696e6172792070726f6772616d73210a0a474f5443484121 0a0a0a666f72202873706c6974202f2f2c20247329207b0a202069662028 6d2f285b302d395d292f29207b0a2020202024646c79203d2024313b0a20 202020756e64656620245f3b0a20207d0a20207072696e743b0a20207365 6c6563742028756e6465662c20756e6465662c20756e6465662c20302e30 3330202a2024646c79293b0a7d0a END
      Lol. I loved your "kickass Perl compiler" so much that I just had to s/eval/print/ for a closer look. ;)


      Dave


      "If I had my life to do over again, I'd be a plumber." -- Albert Einstein

        You dindn't heed my warnings! You broke the DMCA! Now I can virtualsue you! ;-)

      your binary gizmo deleted all my files !! , even from .snapshot
      what can I do now .
Re: exe from Perl
by rnahi (Curate) on Oct 07, 2003 at 15:38 UTC
      Hi , I copied the pp code , but I didn't have the right perl version
      so I downloaded a sun freeware for perl 5.8.0
      (I assumed that it was compatble to rev 5.0.6
      I installed it , and every thing went very smooth
      only now , when I try to run it I get diagnostics regarding
      missing packages "Can't locate Archive/Zip.pm" .
      do you have any suggestion regarding that ?
      maybe I showld use the same perl version , if that true
      where can I take it from .
      Thx for your help
      michaeg