in reply to Re^5: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
in thread Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
&WNOHANG is a deprecated syntax, but still works.
Yes, & is Perl bitwise operator.
I consider it bad form to "AND" a constant with itself. Omit the &.
Update: As a matter of style, I would omit the & in front of WNOHANG. In 'C' that is the way that is is done. I am surprised that you can put & in front of WNOHANG, but ok it is obviously true that in Perl you can. Do as you will, I would not put that & there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
by Eliya (Vicar) on Apr 11, 2011 at 07:45 UTC | |
by Marshall (Canon) on Apr 13, 2011 at 07:54 UTC | |
|
Re^7: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
by Anonymous Monk on Apr 15, 2011 at 20:39 UTC | |
|
Re^7: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
by Anonymous Monk on Apr 12, 2011 at 06:20 UTC |