• How to install Net::SSLeay using custom SSL libraries via Carton packag

    From xcodejoy@21:1/5 to All on Wed Dec 11 05:07:10 2019
    I have various version of the SSL libraries in my $HOME:
    $HOME/opt/LibreSSL/v1
    $HOME/opt/LibreSSL/v...
    $HOME/opt/OpenSSL/v1
    $HOME/opt/OpenSSL/v...

    How to install Net::SSLeay with a determined SSL library using Carton package manager (via cpanfile) for a determined Perl project?

    I have read that:
    ## https://metacpan.org/source/CHRISN/Net-SSLeay-1.88/README
    ## If your OpenSSL is installed in an unusual place,
    ## you can tell Net-SSLeay where to find it
    ## with the OPENSSL_PREFIX environment:
    ## OPENSSL_PREFIX=/$HOME/path/to/openssl

    But, what about LIBRESSL_PREFIX?
    I didn't found the answer this:
    ## https://st.aticpan.org/source/CHRISN/Net-SSLeay-1.88/

    "cpanfile" allows to set building options using such syntax:
    ## https://metacpan.org/pod/distribution/Module-CPANfile/lib/cpanfile.pod
    on configure => sub { ... };

    Is it correct to use it for OPENSSL_PREFIX?
    And, what about LIBRESSL_PREFIX?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)