Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

SSLLookup error

by JohnDi (Initiate)
on Feb 11, 2014 at 17:21 UTC ( #1074456=perlquestion: print w/ replies, xml ) Need Help??
JohnDi has asked for the wisdom of the Perl Monks concerning the following question:

I installed Apache::SSLLookup using cpanm today. The constructor and "is https" seem to work OK:
my $r = Apache::SSLLookup->new(shift);
my $is_ssl_request = $r->is_https;
But the lookup_var function
my $dn = $r->lookup_var('SSL_CLIENT_S_DN');
produces this error in the Apache logs:
Can't locate auto/Apache/SSLLookup/lookup_var.al in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at <my location>/AuthorizeSSL.pm 
Has the installation gone wrong somewhere? A Google search for "lookup_var.al" returns nearly nothing.

Any/All help appreciated

Thanks

Comment on SSLLookup error
Re: SSLLookup error
by JohnDi (Initiate) on Feb 11, 2014 at 20:50 UTC
    The module author informed me that the API changed and the docs reflect the old function. Function
    lookup_var
    was replace by
    ssl_lookup
    which works!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1074456]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-12-29 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls