Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Creating an Executable

by mizmaster22 (Novice)
on Jun 21, 2011 at 13:15 UTC ( [id://910733]=perlquestion: print w/replies, xml ) Need Help??

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

Do you guys feel that the pp CPAN module is the best way to create an executable? I would like to distribute my script to many different workers that do not have Perl installed in any way on their PC's. I would just like to make a simple GUI that contains the actions of my script in an executable form.

Replies are listed 'Best First'.
Re: Creating an Executable
by raybies (Chaplain) on Jun 21, 2011 at 14:31 UTC
    pp's probably the most mainstream way to get there, if that's what you're asking about. Is there some particular fear you have with using it? Have you had troubles with it?

      Well it seemed pretty simple. I am running a Windows machine so, I went to the command line and typed "cpan install pp". This installed the package. So, I went to the documentation and it said that all I needed to do was type "pp -o telnet telnet.pl" into the command prompt and it will make an executable file named telnet.exe out of my telnet.pl script. The error that I am receiving from that command is "C:\Strawberry\perl\site\bin/pp: Input file telnet.pl was not found". Not exactly sure what it is wanting me to do. When I traverse to that location it is just the pp.pm file.

        $ ls -loanh telnet.pl

        ls: telnet.pl: No such file or directory

        $ pp telnet.pl

        C:\perl\site\5.12.2\bin/pp: Input file telnet.pl was not found

Re: Creating an Executable
by biohisham (Priest) on Jun 22, 2011 at 19:44 UTC
    in addition to the Par Packager you have perl2exe that can can enable builduing executables as well, Read about it here, and since you are on Windows, there is this commercial PDK utility from ActiveState that you may find interesting...


    David R. Gergen said "We know that second terms have historically been marred by hubris and by scandal." and I am a two y.o. monk today :D, June,12th, 2011...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://910733]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-25 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found