diff options
author | Dave Lambley <dave@lambley.me.uk> | 2021-06-10 21:22:41 +0100 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2021-06-10 20:44:30 +0000 |
commit | 7d4b8f5eb75f985fe5514ff9436ae487d11c0c2d (patch) | |
tree | bc57650236253f1a52a7fd8de9a6585e41d2485a | |
parent | f6111fa5f05db77b7dc3d0597790cafcc7763d98 (diff) | |
download | perl-7d4b8f5eb75f985fe5514ff9436ae487d11c0c2d.tar.gz |
Add missing quotes to IO::Socket::INET example
Also clean trailing white space.
Committer: Dave Lambley is now a Perl author.
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | dist/IO/lib/IO/Socket/INET.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -318,6 +318,7 @@ Darren/Torin/Who Ever... <torin@daft.com> Dave Bianchi Dave Cross <dave@mag-sol.com> Dave Hartnoll <Dave_Hartnoll@3b2.com> +Dave Lambley <dave@lambley.me.uk> Dave Liney <dave.liney@gbr.conoco.com> Dave Nelson <David.Nelson@bellcow.com> Dave Paris diff --git a/dist/IO/lib/IO/Socket/INET.pm b/dist/IO/lib/IO/Socket/INET.pm index 605458ac50..9ef715b09f 100644 --- a/dist/IO/lib/IO/Socket/INET.pm +++ b/dist/IO/lib/IO/Socket/INET.pm @@ -401,7 +401,7 @@ Examples: $sock = IO::Socket::INET->new( PeerPort => 9999, PeerAddr => inet_ntoa(INADDR_BROADCAST), - Proto => udp, + Proto => 'udp', LocalAddr => 'localhost', Broadcast => 1 ) or die "Can't bind : $IO::Socket::errstr\n"; |