topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 2:39 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Tools that let you package Perl programs into standalone executable  (Read 5305 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
This tutorial outlines the steps you need to take in order to compile your perl scripts into standalone executables. There are a few ways to do this, including the commerical Perl2Exe, and packages such as PerlBin and App::Packer, and a tool called perlcc. I have had the most luck using a free perl module called PAR, which packs perl code into a single .exe file, including all DLLs and other dependencies, so that is what I will discuss here.



from dzone.com

Gothi[c]

  • DC Server Admin
  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 873
    • View Profile
    • linkerror
    • Donate to Member
Very interesting. Is there any speed difference between a compiled exe and running the script over the perl exe? Is it really compiled? Or is it just script+interpreter in an exe?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Very interesting. Is there any speed difference between a compiled exe and running the script over the perl exe? Is it really compiled? Or is it just script+interpreter in an exe?
My guess is script+interpreter...

But perhaps with Perl6+Parrot, "real" compilation might be possible?

- carpe noctem