On Thu, Mar 31, 2011 at 08:56:59PM +0100, dinkypumpkin wrote:

>Yes.  Perl pros here should correct me, but I think now that you effectively 
>passing a list of length = 1 to system() or open3 (under the hood of 
>main::run_cmd), you need to handle all internal quoting yourself.

Yes. The array form is much more secure because you don't need to worry
about weird characters in file names, but because the single-argument
form _does_ interpret those weird characters it can handle pipes and
redirection.

R

_______________________________________________
get_iplayer mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to