On Sat, Jan 29, 2005 at 03:36:37PM -0500, Anthony DeRobertis wrote:
> Package: imms
> Version: 2.0.1-3
> Followup-For: Bug #292777
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Attached. I have only briefly tested this, so beware. This patch works
> by getting rid of the call to popen (and thus the shell). It replaces it
> with pipe, fork, exec, etc.
Quoting is also possible with $''; all one needs to do is loop around
the given string and protect \ and ':

        $s=~s/([\\\'])/\\\1/g;

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to