Skip to content

Commit 3bcde24

Browse files
author
Jan Henning Thorsen
committed
Released version 0.02
* Add example/tail.pl * Fix failing t/bash.t
1 parent 4c994ac commit 3bcde24

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
Revision history for Mojo-IOLoop-ReadWriteFork
22

3+
0.02 Wed Nov 20 11:36:38 2013
4+
* Add example/tail.pl
5+
* Fix failing t/bash.t
6+
37
0.01 Wed Nov 20 10:25:19 2013
48
* First release on CPAN

README

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ NAME
22
Mojo::IOLoop::ReadWriteFork - Fork a process and read/write from it
33

44
VERSION
5-
0.01
5+
0.02
66

77
DESCRIPTION
88
This class enable you to fork children which you can write data to and
@@ -12,6 +12,7 @@ DESCRIPTION
1212
STDERR and STDOUT are more than welcome.
1313

1414
SYNOPSIS
15+
Standalone
1516
my $fork = Mojo::IOLoop::ReadWriteFork->new;
1617
my $cat_result = '';
1718

@@ -35,6 +36,11 @@ SYNOPSIS
3536
conduit => 'pty',
3637
);
3738

39+
In a Mojolicios::Controller
40+
See
41+
<https://github.com/jhthorsen/mojo-ioloop-readwritefork/tree/master/exam
42+
ple/tail.pl>.
43+
3844
EVENTS
3945
close
4046
Emitted when the child process exit.

example/tail.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# NOTE!
55
# THIS APPLICATION IS A BAD IDEA.
6-
# IT SHOULD ONLY SERVER AS AN EXAMPLE.
6+
# IT SHOULD ONLY SERVE AS AN EXAMPLE.
77

88
get '/tail/:name', sub {
99
my $self = shift->render_later;

lib/Mojo/IOLoop/ReadWriteFork.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Mojo::IOLoop::ReadWriteFork - Fork a process and read/write from it
66
77
=head1 VERSION
88
9-
0.01
9+
0.02
1010
1111
=head1 DESCRIPTION
1212
@@ -58,7 +58,7 @@ use constant CHUNK_SIZE => $ENV{MOJO_CHUNK_SIZE} || 131072;
5858
use constant DEBUG => $ENV{MOJO_READWRITE_FORK_DEBUG} || 0;
5959
use constant WAIT_PID_INTERVAL => $ENV{WAIT_PID_INTERVAL} || 0.01;
6060

61-
our $VERSION = '0.01';
61+
our $VERSION = '0.02';
6262

6363
=head1 EVENTS
6464

0 commit comments

Comments
 (0)