Thread (13 messages) flat view 13 messages, 5 authors, 2016-06-15

Re: [PATCH] Convert open("-|") to qx{} calls

From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:42:20

quoted
quoted
quoted
quoted
"Alex" == Alex Riesen [off-list ref] writes:
Alex> Randal L. Schwartz, Thu, Feb 23, 2006 21:41:44 +0100:
Johannes> Now that our local Perl guru joined the discussion, may I ask what
Johannes> is, and what is not quoted when put inside qx{}?
quoted
Nothing is quoted.  Your string acts as if it was XXX in:

sh -c 'XXX'
Alex> Not so for ActiveState. It'll just run the first non-whitespace word
Alex> passing the rest of the line in its command-line.
Alex> It's not even worse then to pass it all to cmd/command :)

Right.  That's why I suggest (in a later message) that safe_qx merely
fall back to qx() on Activestate.  Can't go much more wrong. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[off-list ref] <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help