From: Johannes Schindelin Date: Thu, 23 Feb 2006 19:41:37 GMT Subject: Re: [PATCH] Convert open("-|") to qx{} calls Message-ID: In-Reply-To: <863bi9hq6u.fsf@blue.stonehenge.com> Hi, On Thu, 23 Feb 2006, Randal L. Schwartz wrote: > >>>>> "Junio" == Junio C Hamano writes: > > Junio> The version of Perl Alex has to use claims to be 5.8, but does > Junio> not understand open($kid, '-|'), and he is trying to come up > Junio> with a workaround. > > Ahh, the problem is activestate then. If that's the case, then amend > the code with a check for $^O (operating system) that falls back to a qx > if on activestate, and hope that filenames aren't a problem. > Unfortunately, I don't know enough about that to fix it. Now that our local Perl guru joined the discussion, may I ask what is, and what is not quoted when put inside qx{}? I had the impression that all arguments are quoted, except that variables are resolved first. Was that wrong? IOW does qx{bash $variable} quote the value of $variable, or not? Ciao, Dscho