develooper Front page | perl.perl6.language | Postings from March 2009

r26033 - docs/Perl6/Spec/S32-setting-library

From:
pugs-commits
Date:
March 30, 2009 21:29
Subject:
r26033 - docs/Perl6/Spec/S32-setting-library
Message ID:
20090331042910.24561.qmail@feather.perl6.nl
Author: wayland
Date: 2009-03-31 06:29:09 +0200 (Tue, 31 Mar 2009)
New Revision: 26033

Modified:
   docs/Perl6/Spec/S32-setting-library/IO.pod
Log:
S32/IO: Added a .new() method to IO::Socket::Unix


Modified: docs/Perl6/Spec/S32-setting-library/IO.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/IO.pod	2009-03-31 04:22:47 UTC (rev 26032)
+++ docs/Perl6/Spec/S32-setting-library/IO.pod	2009-03-31 04:29:09 UTC (rev 26033)
@@ -1064,8 +1064,27 @@
 
 =head2 IO::Socket::Unix
 
+    role IO::Socket::Unix does IO::Socket {
+        has Str $.RemoteAddr, # Remote Address
+        has Str $.LocalAddr,  # Local Address
+    }
+
 =over
 
+=item new
+
+    method new(
+        Str  :$RemoteAddr, 
+        Str  :$LocalAddr,
+
+        Bool :$Listener,   # Passed to IO::Socket.new()
+
+        Bool :$Blocking,   # Passed to IO::Streamable.new()
+        Bool :$NoOpen,     # Passed to IO::Streamable.new()
+
+	--> IO::Socket::Unix
+    ) {...}
+
 =item pair
 
     method pair(Int $domain, Int $type, Int $protocol --> List of IO)




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About