Front page | perl.perl5.porters |
Postings from October 2012
From: Nicholas Clark
October 2, 2012 04:24
Message ID: 20121002112434.GT5653@plum.flirble.org
On Tue, Oct 02, 2012 at 12:53:58PM +0200, Salvador Fandino wrote:
> On 10/01/2012 03:26 PM, Ed Avis wrote:
> > Backtick syntax is not going to disappear, despite its gotchas, but the Perl core
> > should do everything possible to make it as convenient to write bulletproof code
> > as it is to use the string-interpolated builtins.
> While we are at it, I would love to see readpipe extended to support the
> same arguments as system.
You're not the only one:
system() accepts a LIST syntax (and a PROGRAM LIST syntax) to avoid
running a shell. readpipe() (the function behind qx//) could be similarly