develooper Front page | perl.perl5.porters | Postings from October 2012

Re: IPC::Cmd

Thread Previous | Thread Next
Nicholas Clark
October 2, 2012 04:24
Re: IPC::Cmd
Message ID:
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:

    =head2 readpipe(LIST)
    system() accepts a LIST syntax (and a PROGRAM LIST syntax) to avoid
    running a shell. readpipe() (the function behind qx//) could be similarly

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About