Browse files

More dzil cleanup after import

  • Loading branch information...
1 parent db76785 commit 8b23f86c28f387b8ddc6d2d9ed8530a16e1b5e18 @ruoso committed May 28, 2011
Showing with 5 additions and 27 deletions.
  1. +5 −27 lib/IO/
32 lib/IO/
@@ -177,14 +177,6 @@ sub timeout {
-=head1 NAME
-IO::BindHandles - Bind a set of handles for buffered tunneling
-=head1 VERSION
-version 0.002
Simple usage:
@@ -237,9 +229,7 @@ different sockets toguether.
This module doesn't perform any low-level operation on the handles, so
it should support any IO::Handle that is supported by IO::Select.
-=head1 METHODS
-=head2 new(timeout => $val, handles => [ $h1, $h2 ])
+=method new(timeout => $val, handles => [ $h1, $h2 ])
Initializes a new BindHandles instance. The timeout value defaults to
0.5. The handles argument receives an arrayref with pairs of handles.
@@ -255,7 +245,7 @@ you think this features are important and I might even implement it.
This method will call autoflush(1) on all handles.
-=head2 loop()
+=method loop()
Blocking loop to consume all read handles and write the data to their
bound handles until they are no longer bound, i.e.: when the remote
@@ -264,15 +254,15 @@ socket is closed.
In order to avoid consuming all the CPU, this method will override the
timeout configuration to 0.1 if it is set to 0.
-=head2 bound()
+=method bound()
Checks if there are still bound handles. It will return false when no
more write handles are open or when read handles close without any
write buffer left. This can be used as a "while" condition.
It returns the number of valid bindings.
-=head2 rwcycle()
+=method rwcycle()
Selects handles ready to read, write or with exceptions and act
accordingly. The select might block according to the configured
@@ -301,24 +291,12 @@ handle and there are contents in the write buffer.
-=head2 timeout
+=method timeout
Accessor for the timeout value.
=head1 BUGS
Please submit all bugs regarding IO::BindHandles to
-=head1 AUTHOR
-Daniel Ruoso <>
-This software is copyright (c) 2011 by Daniel Ruoso.
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.

0 comments on commit 8b23f86

Please sign in to comment.