📜  用于 shell 的 perl 转义字符串 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:20.095000             🧑  作者: Mango

代码示例1
use String::ShellQuote 'shell_quote';

my $cmd = shell_quote( 'echo', 'This is sample text ending in a slash \\' );

`$cmd`;