I use Cygwin for just about anything command line, including perl. However, not all of my co-workers have cygwin (or perl for that matter), so I decided to use PAR::packer to create a standalone executable of my script (see below for dummied down try.pl). So, I ran pp -o try.exe try.pl in my Cygwin environment producing the expected try.exe, which, when run in Cygwin, produces the desired output. However, when I open up a CMD terminal, change directories to where try.exe is located, and run it, I get the following error:
Usage: try [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src.par ] [ program.pl ]
try [ -B|-b ] [-Ooutfile] src.parGoogling for this type of error did not yield very useful results. Does anyone have any suggestions?
Thanks in advance!
use strict; use warnings; print "hello world\n";
In reply to Use PAR::packer to create EXE from Cygwin for CMD by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |