467,179 Members | 1,263 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,179 developers. It's quick & easy.

making perl script an executable program.

Hello,

i've installed some modules in my unix machine which i'm using in my scripts. however, i'd like to make those scripts executable from any machine, with minimal requirements of perl installed. is it possible ?

thanks,
Jul 17 '08 #1
  • viewed: 1825
Share:
6 Replies
numberwhun
Expert Mod 2GB
You can look into something like perl2exe, but I don't think anyone here has much experience in using it or any other modules to do so.

Regards,

Jeff
Jul 17 '08 #2
KevinADC
Expert 2GB
I think when you make a perl program into an executable with perl2exe it includes perl in the executable. Maybe look into perlcc but I have no experience with it myself. Make sure to read the perlcc documentation carefully.
Jul 17 '08 #3
eWish
Expert 512MB
How about PAR or PAR::Packer?

--Kevin
Jul 17 '08 #4
i'll definetly give it a shot, i'll let you know if i found someting useful,

thanks
Jul 18 '08 #5
U can try another way also without installing several modules..

Just make a copy of required modules in one server system.

Call that module exists path using

Expand|Select|Wrap|Line Numbers
  1. use lib 'module exists path';
  2.  
Jul 18 '08 #6
numberwhun
Expert Mod 2GB
U can try another way also without installing several modules..

Just make a copy of required modules in one server system.

Call that module exists path using

Expand|Select|Wrap|Line Numbers
  1. use lib 'module exists path';
  2.  
Actually, I don't know if that will work. Referencing Perl modules on another machine could run into things like permissions issues and the like. Plus, I don't know if Perl would like it, but I could be wrong.

Regards,

Jeff
Jul 18 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by lamar_air | last post: by
3 posts views Thread by lonelyplanet999 | last post: by
1 post views Thread by Merijn Boom | last post: by
8 posts views Thread by Jan Danielsson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.