Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New Release

  • Loading branch information...
commit 9bc98bf77268fa6c6d291cfd26e349c9af092a9e 1 parent 107994b
@exodist authored
Showing with 5 additions and 8 deletions.
  1. +4 −7 README
  2. +1 −1  lib/Child.pm
View
11 README
@@ -31,9 +31,7 @@ SYNOPSIS
}, pipe => 1 );
# Read (blocking)
- my $message1 = $child2->read(1);
-
- # Read (non-blocking)
+ my $message1 = $child2->read();
my $message2 = $child2->read();
$child2->say("reply");
@@ -72,7 +70,7 @@ SYNOPSIS
$self->say("message1");
};
- my $message1 = $child->read(1);
+ my $message1 = $child->read();
CLASS METHODS
@children = Child->all_children()
@@ -103,9 +101,8 @@ OBJECT METHODS
$child->kill($SIG)
Send the $SIG signal to the child process.
- $child->read($BLOCK)
- Read a message from the child. Takes a single boolean argument; when
- true the method blocks.
+ $child->read()
+ Read a message from the child.
$child->write( @MESSAGES )
Send the messages to the child. works like print, you must add "\n".
View
2  lib/Child.pm
@@ -3,7 +3,7 @@ use strict;
use warnings;
use Carp;
-our $VERSION = "0.004";
+our $VERSION = "0.005";
our %META;
our @CHILDREN;
Please sign in to comment.
Something went wrong with that request. Please try again.