Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: non-blocking IO from open("-|")ing an external program with fcntlby jwkrahn (Abbot) |
on Jun 12, 2020 at 21:38 UTC ( [id://11118002]=note: print w/replies, xml ) | Need Help?? |
That will never die because of precedence. (The string 'sleep 3; echo aaaa' is always true.)
You need to add parentheses:
In Section
Seekers of Perl Wisdom
|
|