in reply to Creating an Executable

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?

Replies are listed 'Best First'.
Re^2: Creating an Executable
by mizmaster22 (Novice) on Jun 21, 2011 at 14:55 UTC

    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

        Yes, that is the error that I am receiving.