readpipe() broken: 2 bugs #2793
This is a bug report for perl from firstname.lastname@example.org,
./perl -wle 'print readpipe($^X, "-e", q(printp "12\n"))'
I can see 2 bugs here:
a) readpipe is not a list operator, as it should be (see my patch
b) ($^X, '-e') "leak" to print().
Site configuration information for perl v5.7.0:
Configured by ilya at Tue Sep 26 23:09:09 EDT 2000.
Summary of my perl5 (revision 5.0 version 7 subversion 0) configuration:
Locally applied patches:
@INC for perl v5.7.0:
Environment for perl v5.7.0:
On Wed Nov 01 09:14:00 2000, email@example.com wrote:
First off, this bug still exists in 5.19.
Second, you can also get the inverse of b), i.e. stealing args from print:
% perl -we 'print "Just ", "echo another Perl hacker,", readpipe +()'
Argument list handling fixed in commit
Thank you for filing this report. You have helped make Perl better.
With the release yesterday of Perl 5.28.0, this and 185 other issues have been
Perl 5.28.0 may be downloaded via:
If you find that the problem persists, feel free to reopen this ticket.