Skip to content

Commit 9fc190d

Browse files
committed
Remove use v6.c from IO::Socket::INET examples.
Do we really need to include the version in such simple examples?
1 parent 2adf40d commit 9fc190d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

doc/Type/IO/Socket/INET.pod6

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Here is an example of a very simplistic "echo" server that listens on
1313
C<localhost>, port C<3333>:
1414
1515
=begin code
16-
use v6.c;
17-
1816
my $listen = IO::Socket::INET.new( :listen,
1917
:localhost<localhost>,
2018
:localport(3333) );
@@ -30,8 +28,6 @@ loop {
3028
And a client that connects to it, and prints out what the server answers:
3129
3230
=begin code
33-
use v6.c;
34-
3531
my $conn = IO::Socket::INET.new( :host<localhost>,
3632
:port(3333) );
3733
$conn.print: 'Hello, Perl 6';

0 commit comments

Comments
 (0)