Hi all again.

Not sure yet (I'd like to do more tests) but it seems it's an issue related
to the dependencies.

pp sample.pl *-M Net::HTTPS -M Net::SSL *-o sample.exe

should resolve the issue.

CPAN doesn't show the
dependency<http://deps.cpantesters.org/?module=LWP%3A%3AUserAgent&perl=5.16.1&os=any+OS>between
LWP::UserAgent and Net::SSL but it seems to exist.

Thanks,
Peco


2012/8/14 Juan José 'Peco' San Martín <jsanmar...@gmail.com>

> First: PAR is an amazing work. Thank you!
>
> I've a issue with the LWP/https support. Any help would be great.
>
> I've created the next sample.pl file
>
> *#!/usr/bin/perl
> use warnings;
> use strict;
>
> my $a=LWP::UserAgent->new();
> my $echo=$a->get('https://www.google.com/' <http://www.google.com/%27>);
>
> if($echo->is_sucess){print "OK-connected\n";}
> else{print "Error-not connected\n";}*
>
> If I execute: *perl sample.pl*, everything works as expected. It returns *
> OK*
>
> If I create the exe: *pp sample.pl -o sample.exe  *then sample.exe,
> returns *Error-not connected*
>
> I tried loading modules looking for dependencies: -M LWP -M Crypt::SSLeay
> without success.
>
> I'm using Windows 7, with Perl 5.10 and PAR-Packer 1.006
>
> Thanks!
>

Reply via email to