File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Revision history for Mojo-IOLoop-ReadWriteFork
4
4
* Fix "Use of uninitialized value in numeric eq (==) at ReadWriteFork.pm line 182."
5
5
* Add support for write() before child process has started
6
6
* Add support for "drain" callback to write()
7
+ * Add run(). a simpler version start()
7
8
8
9
0.05 Wed Feb 19 13:29:54 2014
9
10
* Fix "read" event cannot change ERRNO from sysread()
Original file line number Diff line number Diff line change @@ -100,6 +100,21 @@ has reactor => sub {
100
100
101
101
=head1 METHODS
102
102
103
+ =head2 run
104
+
105
+ $self = $self->run($program, @program_args);
106
+
107
+ Simpler version of L</start> .
108
+
109
+ =cut
110
+
111
+ sub run {
112
+ my ($self , $program , @program_args ) = @_ ;
113
+
114
+ $self -> start(program => $program , program_args => \@program_args );
115
+ $self ;
116
+ }
117
+
103
118
=head2 start
104
119
105
120
$self->start(
You can’t perform that action at this time.
0 commit comments