http://www.perlmonks.org?node_id=920710


in reply to Re: Again with PAR::Packer troubles
in thread Again with PAR::Packer troubles

The certificate file was the lynchpin.

PP command:

pp mech_test.pl -l \Perl\lib\Mozilla\CA\cacert.pm

I've dealt with having to find files that I've had to include in PP built packages before. Here's how to deal with this particular one:

use File::Spec; if (exists $ENV{PAR_PROGNAME}) { $ENV{PERL_LWP_SSL_CA_FILE} = File::Spec->catfile( $ENV{PAR_TEMP}, 'cacert.pem' ); }

I can't remember where I got that gem from, but it helped me when I was first starting to build Tkx apps. In my case, I stick this in a BEGIN block, so that the environment is right before I do anything else.

Thank you all for your patience and help.