Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] change Perl syntax to support Perl 5.6

From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:45:16

quoted
quoted
quoted
quoted
"Avery" == Avery Pennarun [off-list ref] writes:
Avery> Shell quoting is a disaster (including security holes, where relevant)
Avery> waiting to happen.  The above is the only sane way to do it, and it
Avery> isn't very hard to implement.  (Instead of system() in the subprocess,
Avery> you can use exec().)

quotemeta() is about regex quoting.  This is not precisely the same as shell
quoting, and is both misleading, and potentially broken.

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