Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 79241
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: snow6oy [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: CPAN Documentation for Net::SSLeay
Date: Mon, 27 Aug 2012 16:56:13 +0200
To: bug-Net-SSLeay [...] rt.cpan.org
From: Gavin Johnson <snow6oy [...] gmail.com>
Download (untitled) / with headers
text/plain 662b
Hi, I think the example for get_https4 is incorrect. You have: ($page, $response, %headers_ref, $server_cert) = get_https4('www.bacus.pt', 443, '/'); for $k (sort keys %{headers_ref}) { for $v (@{$headers_ref{$k}}) { print "$k = $v\n"; } } but I think you want: ($page, $response, $headers_ref, $server_cert) = get_https4('www.bacus.pt', 443, '/'); for $k (sort keys %{headers_ref}) { for $v (@{$headers_ref{$k}}) { print "$k = $v\n"; } } Because %headers_ref is not a reference. You can ignore this if you're busy, the world won't change too much :-) cheers, Gavin -- http://www.fnarg.net/
Subject: Re: [rt.cpan.org #79241] CPAN Documentation for Net::SSLeay
Date: Tue, 28 Aug 2012 13:46:09 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 1.8k
Hi, Thanks for reporting this. In fact get_https4() was a real mess, not only was the documentation example wrong, but the code was not correct either. Fixed in svn revision 248. Cheers. On Monday, August 27, 2012 10:56:30 AM Gavin Johnson via RT wrote: Show quoted text
> Mon Aug 27 10:56:29 2012: Request 79241 was acted upon. > Transaction: Ticket created by snow6oy@gmail.com > Queue: Net-SSLeay > Subject: CPAN Documentation for Net::SSLeay > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: snow6oy@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79241 > > > > Hi, > > I think the example for get_https4 is incorrect. You have: > > ($page, $response, %headers_ref, $server_cert) > = get_https4('www.bacus.pt', 443, '/'); > for $k (sort keys %{headers_ref}) { > for $v (@{$headers_ref{$k}}) { > print "$k = $v\n"; > } > } > > but I think you want: > > ($page, $response, $headers_ref, $server_cert) > = get_https4('www.bacus.pt', 443, '/'); > for $k (sort keys %{headers_ref}) { > for $v (@{$headers_ref{$k}}) { > print "$k = $v\n"; > } > } > > Because %headers_ref is not a reference. You can ignore this if you're > busy, the world won't change too much :-) > > cheers, > Gavin
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.