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

Dear Monks, Is there a way that a perl program can be transformed into an .exe file that can be run from a visual basic program? Thanks for your help! Raymond

Replies are listed 'Best First'.
Re: Perl to Windows EXE
by RMGir (Prior) on Sep 06, 2002 at 12:02 UTC
    In addition, you may not really need to convert your script to an exe program, unless you need to redistribute this VB program.

    You can invoke the perl interpreter from VB just as you would any other outside application.

    However, if you do need to redistribute the program, then the EXE route is probably the way to go, unless you want to ask your users to install ActivePerl with your app.

    Either that, or reimplement the perl part in VB, and that's probably WAY too painful :)
    --
    Mike

      You can invoke the perl interpreter from VB just as you would any other outside application.

      Using a couple of lines like this:

      ChDir "C:\PerlWork\" a = Shell("command.com /c perl myprog.pl -w")
Re: Perl to Windows EXE
by LTjake (Prior) on Sep 06, 2002 at 11:49 UTC
    See this node for a list of references to similar questions.

    You should try the search function on this site. It's great.