develooper Front page | perl.perl5.porters | Postings from June 2022

Re: Pre-RFC: readpipe with list args

Thread Previous | Thread Next
From:
Paul "LeoNerd" Evans
Date:
June 10, 2022 18:34
Subject:
Re: Pre-RFC: readpipe with list args
Message ID:
20220610193419.3717c1b0@shy.leonerd.org.uk
On Fri, 10 Jun 2022 18:52:53 +0100
Neil Bowers <neilb@neilb.org> wrote:

> We revisited this in today’s PSC meeting, and agreed that it should
> be marked as rejected. As Rik noted last week, a more holistic
> approach is really called for, which would be a different proposal.

Also I note that this sort of thing is easily solved by modules. E.g.
IPC::Run which would write this as

  run [ $command, "with", @args ], '>', \my $output;

It's slightly weird syntax perhaps, but it's just a module.

We could consider either pulling IPC::Run into core, or making some new
"IPC"-type module that is core, to handle all these sorts of things.

It doesn't need to be core language syntax.

-- 
Paul "LeoNerd" Evans

leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About