in reply to Strawberry perl and PAR

Which version of PAR are you using? Sine version 0.97 (May 2008, nine releases ago) pp has been part of PAR::Packer.

I just tested this on a Win2k3 box with Strawberry Perl v.5.10.0, installed PAR::Packer via cpan, and have successfully created an executable from a 'hello world' script without any error messages.

Hope this helps,

Martin

Replies are listed 'Best First'.
Re^2: Strawberry perl and PAR
by perlnewb123 (Sexton) on Mar 25, 2009 at 20:46 UTC
    Thank you PAR::Packer worked, so here's the real question. I have a script I need to make into an exe. Ive compiled it like so: pp -o exename perlscript exe runs fine on any machine that has perl installed, but I need to run it on hosts without perl. When running from a host that doesnt have perl i get the following:
    C:\Temp>cam_reset.exe Server returned error: 501 Protocol scheme 'https' is not supported (C +rypt::SSLe ay not installed)
    Script makes a ssl connection to a device and performs a post. Script is using the following: use HTTP::Request::Common qw(POST GET); use HTTP::Headers; use LWP::UserAgent; use MIME::Base64; SSLleay and openssl were installed on the host the script was complied on. How do I get past this error?
      Tried this as well, same result: pp -M Net::HTTPS -M LWP -M LWP::Protocol::https -o exe script