saintmike has asked for the wisdom of the Perl Monks concerning the following question:
The following code snippet terminates ok:
but if you add a variable holding a regular expression, likeopen FH , "| cat " ; open STDOUT, ">&FH";
then this code hangs, according to strace while waiting for the forked process to terminate:my $foo = qr(a); open FH , "| cat " ; open STDOUT, ">&FH";
Is this a known perl bug?... rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0 waitpid(29096, ...
Back to
Seekers of Perl Wisdom