Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 25, 2017, 05:32 PM
  • Proudly celebrating 10 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 3263 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 37,420
    • View Profile
    • Donate to Member
Quote
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: 858
    • View Profile
    • 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,100
    • View Profile
    • 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?