ShellQuote::Any - escape strings for the shell on Linux, UNIX or MSWin32
use ShellQuote::Any; shell_quote(['curl', 'http://example.com/?foo=123&bar=baz']); # curl 'http://example.com/?foo=123&bar=baz'
ShellQuote::Any escapes strings for the shell on Linux, UNIX or MSWin32.
If this method was called without $os, then \@cmd escapes for current OS. $os supports MSWin32 or Bourne.
$os
\@cmd
MSWin32
Bourne
ShellQuote::Any is hosted on github: http://github.com/bayashi/ShellQuote-Any
I appreciate any feedback :D
Dai Okabayashi <bayashi@cpan.org>
String::ShellQuote
Win32::ShellQuote
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install ShellQuote::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ShellQuote::Any
CPAN shell
perl -MCPAN -e shell install ShellQuote::Any
For more information on module installation, please visit the detailed CPAN module installation guide.