alpal has asked for the wisdom of the Perl Monks concerning the following question:

Howdy monks,

I've done most of my perl scripting in unix, so I'm not too sure about using win32::gui and whatnot, but a friend asked me if I could write a program for him in windows. Is there a way to have the finished perl program run on any windows machine, regardless of whether or not it has perl installed? So I could just email it to him and he could run it there on the spot?

Thanks a ton for the info,
Alan

Replies are listed 'Best First'.
Re: Win 32 gui
by waswas-fng (Curate) on Feb 12, 2004 at 00:50 UTC
    Take a look at par it allows you (besides other great things) to compile a stand alone exe for your perl app. Very nice indeed.


    -Waswas
Re: Win 32 gui
by arden (Curate) on Feb 12, 2004 at 02:05 UTC
    There's also PerlApp within the Perl Dev Kit from ActiveState. It is pay-ware, but it's only $49 for an educational license and $195 for a commercial license. If you just want to try it or want a short-term, one-time type application, you can use the 30-day trial license for free.

    For a GUI, Perl/Tk is a very common, portable, option. I've written scripts for use on linux, solaris, macintosh, and win32, and compiled for use on all but the macintosh.

    - - Arden.

Re: Win 32 gui
by erniep (Sexton) on Feb 12, 2004 at 12:08 UTC
    Try this site http://www.apachefriends.de/ I was looking for a windows version of perl and a monk turned me towards this site. You have to install the apache server on both machines but it is very easy and the instructions are simple. I converted a system I wrote using Unix to windows within a few hours. Good luck . Erniep
Re: Win 32 gui
by nega (Scribe) on Feb 12, 2004 at 13:33 UTC