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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiling perl scripts in windows

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Question: I am using ActivePerl on Windows (i.e. I can't compile perl itself, so I installed a binary version)

I would like to compile my perl scripts into binary files which others can use without having to set-up perl on their machines, create the file associations, etc.

Is this possible, and if so, how?

Thanks

Oliver White


 
never heard of this being don't....kind of goes against the ethos of a scripting language :)
 
It would appear to validate (or not) perl's status as a real programming language, if I can give it to other people in the company to run, without having to say to them, "You'll need to go to activestate and download this, and install it here, and set up these file associations, and only then can you run my program from the command prompt"

 
I do this on occassion with Perl/Tk apps. It makes the app'. portable to any Win32 machine without having to install Perl on that machine. I have read about/heard of several ways to do this. The one I use, because it was the first I tried and it worked, is PerlApp from Note, I'm not saying it is the best, just the first one I tried and it worked. You can write an application, run perlApp on it, and end up with an executable that has all the required/used stuff bundled inside the executable. The executables are generally a lot bigger than the scripts. ActiveState used to offer a trial version of their Perl Developer Kit. You might see if they still do. I ended up buying it after trying it. As it turns out, the only thing I use in the kit is perlApp.

HTH


keep the rudder amid ship and beware the odd typo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top