Skip to content

Commit 0cc9d5d

Browse files
author
Jan Henning Thorsen
committed
Ambiguous call resolved as CORE::close(), qualify as such or use &
1 parent 4ca25da commit 0cc9d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Mojo/IOLoop/ReadWriteFork.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ sub _start {
246246
}
247247

248248
warn "[$$] Starting $args->{program} @{ $args->{program_args} }\n" if DEBUG;
249-
close $stdin_write;
250-
close $stdout_read;
249+
CORE::close($stdin_write);
250+
CORE::close($stdout_read);
251251
open STDIN, '<&' . fileno $stdin_read or die $!;
252252
open STDOUT, '>&' . fileno $stdout_write or die $!;
253253
open STDERR, '>&' . fileno $stdout_write or die $!;

0 commit comments

Comments
 (0)