From: Avery Pennarun Date: Sun, 31 Aug 2008 05:35:31 GMT Subject: Re: [PATCH] change Perl syntax to support Perl 5.6 Message-ID: <32541b130808302235g6a23efcfs78efe2ef557cd9c7@mail.gmail.com> In-Reply-To: <200808302237.17017.jnareb@gmail.com> On Sat, Aug 30, 2008 at 4:37 PM, Jakub Narebski wrote: > Or you can use "open $fd, '-|'" to fork, an "manually" exec/system. Shell quoting is a disaster (including security holes, where relevant) waiting to happen. The above is the only sane way to do it, and it isn't very hard to implement. (Instead of system() in the subprocess, you can use exec().) Have fun, Avery