Date: Wed, 23 Jun 2004 12:51:04 +0300 From: Juho Vuori <juho.vuori@kepa.fi> To: Sex Maniac <lovememek@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: How to turn your Perl programs into standalone executables Message-ID: <40D95288.1030102@kepa.fi> In-Reply-To: <20040623090857.48694.qmail@web21502.mail.yahoo.com> References: <20040623090857.48694.qmail@web21502.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Sex Maniac wrote: >Hi just want to ask, if I have a perl program, and I >want to turn it into standalone executables/binary. >Question is how ? What programs/packages/ports I must >use ? > > First add a line #!/usr/bin/perl as the very first line of your perl program. Without indenting or anything. /usr/bin/perl is the default location for freebsd perl interpreter, but you should check, (run command 'which perl') In case your perl interpreter is located in /usr/local/bin/perl or something else, you must change the line accordingly. Then say chmod 755 myprogram.pl and your program runs nicely by just typing its name. Of course it has to be in your command path. From current working directory you can't run programs just like that, say ./myprogram.pl instead. Juho >Usually in windows98, I can use PerlApp to Turn your >Perl programs into standalone executables (.exe) > >I don't want my users can see the source program in >.pl >I want my source program is hidden from user and the >others administrators. So I need the executable >file/binary file only. > >Please help. > >Thx before > >Regards, > >-Galon Aerosmith- > > > > >__________________________________ >Do you Yahoo!? >New and Improved Yahoo! Mail - 100MB free storage! >http://promotions.yahoo.com/new_mail >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D95288.1030102>