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

I have created a .pl file using perl 5.12.3 windows version. I am using perl tk module in it. I need to create a .exe file for the same. please provide me some steps to do it.
Please suggest the free ware (or) perl free ware compatible version.
Thanks in advance for your help and guidance

Replies are listed 'Best First'.
Re: .pl to .exe conversion
by marto (Cardinal) on Sep 18, 2016 at 18:06 UTC

    Use pp to package your application into an executable:

    pp -x -o packaged.exe yourscript.pl
Re: .pl to .exe conversion
by hippo (Archbishop) on Sep 18, 2016 at 15:31 UTC

    The FAQ recommends Perl2Exe. Have you tried that?

      The license states (with added emphasis):

      "You are hereby licensed to use the shareware evaluation version of Perl2Exe for evaluation purposes without charge for a period of 30 days. This is not free software. If you use this software after the 30 day evaluation period a registration fee is required. Under no circumstances are you licensed to distribute Exe files created by the shareware evaluation version of Perl2Exe. Unregistered use of Perl2Exe after the 30 day evaluation period is in violation of copyright laws."

Re: .pl to .exe conversion
by Discipulus (Canon) on Sep 19, 2016 at 06:52 UTC