Re: Executable perl program help!!

2003-08-20 Thread Ramprasad A Padmanabhan
[EMAIL PROTECTED] wrote:
How can i generate such a file?


Million dollar question , No perfect answer.
Depends on what OS you are using.
Do a google on perl2exe

For starters try the O.pm. To convert your perlcode to C and then 
compile the C code

On linux You can compile using
export LDOPTS=`perl -MExtUtils::Embed -e ldopts`
export CCOPTS=`perl -MExtUtils::Embed -e ccopts`
perl -MO=C script.pl  script.c
gcc $CCOPTS script.c -o script $LDOPTS
This  works only on some scripts. The O.pm is still evolving

Ram

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


RE: Executable perl program help!!

2003-08-20 Thread Bob Showalter
Rich Parker wrote:
 I was at Active State the other day, they have one that can be
 purchased. I have seen a few others when I did a similar search as
 mentioned. I haven't seen one for free or one that has a demo for it,
 I'd love to try one, if anyone sees one, let everyone know about it.

You can download a demo version of ActiveState's Perl Dev Kit:

http://www.activestate.com/Products/Download/Register.plex?id=PerlDevKita=
e

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



RE: Executable perl program help!!

2003-08-20 Thread Laurent_Coudeur
Also try

http://www.indigostar.com/



Laurent coudeur




Bob Showalter [EMAIL PROTECTED]
20/08/2003 16:20

 
To: 'Rich Parker' [EMAIL PROTECTED], [EMAIL PROTECTED]
cc: 
Subject:RE: Executable perl program help!!


Rich Parker wrote:
 I was at Active State the other day, they have one that can be
 purchased. I have seen a few others when I did a similar search as
 mentioned. I haven't seen one for free or one that has a demo for it,
 I'd love to try one, if anyone sees one, let everyone know about it.

You can download a demo version of ActiveState's Perl Dev Kit:

http://www.activestate.com/Products/Download/Register.plex?id=PerlDevKita=
e

-- 
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]



RE: Executable perl program help!!

2003-08-20 Thread Dan Muey

 
 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]



Re: Executable perl program help!!

2003-08-20 Thread Rich Parker


[EMAIL PROTECTED] wrote:

Also try

http://www.indigostar.com/



Laurent coudeur

Quick question about this, sounds great. But if I were running my Perl 
from an http call (Normal browser usage), what would the exec cgi call 
Look like, syntax wise??

Thanks.



Bob Showalter [EMAIL PROTECTED]
20/08/2003 16:20
 
To: 'Rich Parker' [EMAIL PROTECTED], [EMAIL PROTECTED]
cc: 
Subject:RE: Executable perl program help!!

Rich Parker wrote:

I was at Active State the other day, they have one that can be
purchased. I have seen a few others when I did a similar search as
mentioned. I haven't seen one for free or one that has a demo for it,
I'd love to try one, if anyone sees one, let everyone know about it.


You can download a demo version of ActiveState's Perl Dev Kit:

http://www.activestate.com/Products/Download/Register.plex?id=PerlDevKita=
e


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


Re: Executable perl program help!!

2003-08-20 Thread Rick Clary
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]