You may also want to look at the PAR module.  It can create and
executable, and it is available from ActiveState via ppm.  Be aware that
it packages the interpreter and modules with the script, so the
executable can be very large, particularly with Tk.

Another project I have heard good things about is tinyperl.  I have been
told that it give you executable perl on a floppy.  I believe it is on
Source Forge.

--Rick

----- Original Message ----- 
From: "Dan Muey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 10:06 AM
Subject: RE: Executable perl program help!!



>
> How can i generate such a file?

# vi mysript.pl :
 #!/usr/bin/perl -w
 use strict;
 print "hello\n";
# ./myscript.pl
Bash: Bad command or file name : Permission denied
# chmod 755 myscript.pl
# ./myscript.pl
hello
#

On unix it has to be executable by the user running it, commonly
755 or on winders you have to have the file extension .pl associated
with the perl binary which is usually done on installing Perl.

HTH

DMuey

>
>
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to