By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,812 Members | 1,978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,812 IT Pros & Developers. It's quick & easy.

making perl script an executable program.

P: 51
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
Share this Question
Share on Google+
6 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
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 2.5K+
P: 4,059
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 100+
P: 971
How about PAR or PAR::Packer?

--Kevin
Jul 17 '08 #4

P: 51
i'll definetly give it a shot, i'll let you know if i found someting useful,

thanks
Jul 18 '08 #5

P: 40
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 2.5K+
P: 3,503
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.