From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 09:55:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7379B16A4CE for ; Wed, 23 Jun 2004 09:55:05 +0000 (GMT) Received: from mail.kepa.fi (mail.kepa.fi [62.142.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A6643D39 for ; Wed, 23 Jun 2004 09:55:05 +0000 (GMT) (envelope-from juho.vuori@kepa.fi) Received: from localhost (localhost [127.0.0.1]) by mail.kepa.fi (Postfix) with ESMTP id 8D64AA686 for ; Wed, 23 Jun 2004 13:05:05 +0300 (EEST) Received: from mail.kepa.fi ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11707-09 for ; Wed, 23 Jun 2004 13:04:54 +0300 (EEST) Received: from kepa.fi (helsinki.kepa.fi [62.142.22.210]) by mail.kepa.fi (Postfix) with ESMTP id 81893A683 for ; Wed, 23 Jun 2004 13:04:54 +0300 (EEST) Message-ID: <40D95339.30209@kepa.fi> Date: Wed, 23 Jun 2004 12:54:01 +0300 From: Juho Vuori User-Agent: Mozilla Thunderbird 0.5 (X11/20040306) X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <20040623090857.48694.qmail@web21502.mail.yahoo.com> <40D95288.1030102@kepa.fi> In-Reply-To: <40D95288.1030102@kepa.fi> X-Enigmail-Version: 0.83.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at kepa.fi Subject: Re: How to turn your Perl programs into standalone executables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jun 2004 09:55:05 -0000 Oops, it seems I didn't really answer your question but something else. I should learn to read before experimenting with writing. Sorry. Juho Juho Vuori wrote: > 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" >> >> > > _______________________________________________ > 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"