1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: fix a spelling mistake
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-12-31
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110799
Bug: https://rt.cpan.org/Ticket/Display.html?id=110799
--- a/lib/Socket/GetAddrInfo/Strict.pm
+++ b/lib/Socket/GetAddrInfo/Strict.pm
@@ -61,10 +61,10 @@
L<Socket::GetAddrInfo> provides the functions of C<getaddrinfo> and
C<getnameinfo>, which return lists whose first element is error value, or
-false indicating no error occured.
+false indicating no error occurred.
This module wraps the functions provided by C<Socket::GetAddrInfo> to check
-this error value, and throw an exception (using C<die>) if an error occured.
+this error value, and throw an exception (using C<die>) if an error occurred.
If not, then the remaining values are returned as normal. This can simplify
the logic of a program which otherwise simply throws its own exception on
failure anyway.
|