Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl2exe

Status
Not open for further replies.

massctrl

MIS
Dec 29, 2002
46
BE
Is anyone familiar with compiling perl files into executables (on Win32)

Why is a simple perlscript sooo big when compiled to an exe with perl2exe of indigosoft.

If you use the -tiny option it's relatively small but then you'll have a few extra dll's which isn't what i want.

Is there a better way ?

Greetings

Jay
 
Short answer- You are building a perl compiler into the program. It's smaller than installing the entire compiler with bells and whistles.

Longer answer- It needs all those dll's to process the application. If you want it smaller, reduce the number of modules you need. I dropped Net::FTP from an application and the -tiny exe file dropped from 600+k to 350. And I dropped a dll too. The smaller and less convoluted the program, the smaller the footprint. For my purposes, I have a directory on my servers for the dll's. Each new app requires only new dll's to be added, and the couple hundred kb exe.

YMMV

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top