Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl2EXE 2

Status
Not open for further replies.

sleuth

Programmer
Jan 12, 2001
134
US

Has anyone compiled their perl program using perl2exe on a windows system and been able to run it through the browser?

I tried it with there demo but couldn't get out of dos mode.

If anyone's gotten it before could you let me know what switch did it or whatever else? Perl2exe is confusing.

Also, if you've been to thier site, then you'd have seen that cdrom thing, where you can burn your site with executables and perl scripts and everything and it's supposed to run, anyone get that peice of junk to work?

Thanks,

Tony

"I hope the perl2exe developer isn't in here"
 

I've already made a few executable perls, but I use ActiveState's PDK (trial version available)

There is a program called PerlApp

Here is how I call it:

PerlApp -s exetest.pl -f -e exetest.exe -i comments="Perl executable";productversion="1.0"

You can give other parameters but I've skipped them.

One important to remember though -a: this allows you to manually add modules: eg -a=Exporter::Heavy
You sometimes have to add the modules because the PerlApp doesn't always automatically detect them.

Thierry
 

PerlApp Only works on Nt, those people!!!!

I take it you have Nt,

Ok, back to perl2exe, since I can't exactly use The PDK kit from ActiveState, well, PerlApp anyway, I'll have to look else where.

So are there any Perl2Exe Success stories?

Thanks,
Tony
 
Sleuth wrote:

So are there any Perl2Exe Success stories?

Yes. Even using only the evaluation version(s).

You are using a web server, aren't you? Otherwise, it won't ever work. Try MicroWeb, from the same web site. First, perl2exe your script. See that it compiles properly, by trying to run the script from the command line. perl2exe has its own built-in perl parser, and it sometimes fails to work 100% properly.

Next, put the executable in the servers cgi-bin directory. Activate MicroWeb, and point your browser to /cgi-bin/yourscript.exe on your chosen servename. That should work. It does for me.
 

I was doing this with PWS from microsoft, personal web server. We run some software on local intranets.

Tony "Java?? Umm, I think that's the stuff I drink while I'm coding perl."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top