Reputation: 9
I'm trying to use the program O-Saft to verify my SSL certificates. I'm using p5 on FreeBSD. The git sources of O-Saft contain two modules called SSLhello.pm and SSLinfo.pm. These modules are not found on CPAN. Where do I install these modules so Perl can utilize them?
This is my env variable:
PERL5LIB="/home/kevdog/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
PERL_LOCAL_LIB_ROOT="/home/kevdog/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
Upvotes: 1
Views: 306
Reputation: 943556
Just use
them in your Perl program. When you run it, it will complain about them not being in @INC
and tell you what directories are in @INC
.
Put them in one of those directories or modify your include path.
[ ~ ] ➜ perl -MExample -e"echo 1";
Can't locate Example.pm in @INC (you may need to install the Example module) (@INC contains: /Users/quentin/perl5/perlbrew/perls/perl-5.26.0-RC1/lib/site_perl/5.26.0/darwin-2level /Users/quentin/perl5/perlbrew/perls/perl-5.26.0-RC1/lib/site_perl/5.26.0 /Users/quentin/perl5/perlbrew/perls/perl-5.26.0-RC1/lib/5.26.0/darwin-2level /Users/quentin/perl5/perlbrew/perls/perl-5.26.0-RC1/lib/5.26.0).
Upvotes: 1