File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
Revision history for Mojo-IOLoop-ReadWriteFork
2
2
3
+ 0.02 Wed Nov 20 11:36:38 2013
4
+ * Add example/tail.pl
5
+ * Fix failing t/bash.t
6
+
3
7
0.01 Wed Nov 20 10:25:19 2013
4
8
* First release on CPAN
Original file line number Diff line number Diff line change 2
2
Mojo::IOLoop::ReadWriteFork - Fork a process and read/write from it
3
3
4
4
VERSION
5
- 0.01
5
+ 0.02
6
6
7
7
DESCRIPTION
8
8
This class enable you to fork children which you can write data to and
@@ -12,6 +12,7 @@ DESCRIPTION
12
12
STDERR and STDOUT are more than welcome.
13
13
14
14
SYNOPSIS
15
+ Standalone
15
16
my $fork = Mojo::IOLoop::ReadWriteFork->new;
16
17
my $cat_result = '';
17
18
@@ -35,6 +36,11 @@ SYNOPSIS
35
36
conduit => 'pty',
36
37
);
37
38
39
+ In a Mojolicios::Controller
40
+ See
41
+ <https://github.com/jhthorsen/mojo-ioloop-readwritefork/tree/master/exam
42
+ ple/tail.pl>.
43
+
38
44
EVENTS
39
45
close
40
46
Emitted when the child process exit.
Original file line number Diff line number Diff line change 3
3
4
4
# NOTE!
5
5
# THIS APPLICATION IS A BAD IDEA.
6
- # IT SHOULD ONLY SERVER AS AN EXAMPLE.
6
+ # IT SHOULD ONLY SERVE AS AN EXAMPLE.
7
7
8
8
get ' /tail/:name' , sub {
9
9
my $self = shift -> render_later;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Mojo::IOLoop::ReadWriteFork - Fork a process and read/write from it
6
6
7
7
=head1 VERSION
8
8
9
- 0.01
9
+ 0.02
10
10
11
11
=head1 DESCRIPTION
12
12
@@ -58,7 +58,7 @@ use constant CHUNK_SIZE => $ENV{MOJO_CHUNK_SIZE} || 131072;
58
58
use constant DEBUG => $ENV {MOJO_READWRITE_FORK_DEBUG } || 0;
59
59
use constant WAIT_PID_INTERVAL => $ENV {WAIT_PID_INTERVAL } || 0.01;
60
60
61
- our $VERSION = ' 0.01 ' ;
61
+ our $VERSION = ' 0.02 ' ;
62
62
63
63
=head1 EVENTS
64
64
You can’t perform that action at this time.
0 commit comments