Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Again with PAR::Packer troubles

by jellisii2 (Hermit)
on Aug 17, 2011 at 14:30 UTC ( [id://920710]=note: print w/replies, xml ) Need Help??


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.

Replies are listed 'Best First'.
Re^3: Again with PAR::Packer troubles
by stokan (Initiate) on Feb 08, 2014 at 05:53 UTC

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://920710]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others chilling in the Monastery: (12)
    As of 2024-04-23 14:59 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found