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

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/ 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>/ 
Has the installation gone wrong somewhere? A Google search for "" returns nearly nothing.

Any/All help appreciated


Replies are listed 'Best First'.
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
    was replace by
    which works!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1074456]
Approved by ww
[Kanvee]: hi anyone tell me.... is it possible to create a wysiwyg html editor
[Kanvee]: using perl script

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-02-22 18:36 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (334 votes). Check out past polls.