The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ShellQuote::Any - escape strings for the shell on Linux, UNIX or MSWin32

SYNOPSIS

    use ShellQuote::Any;

    shell_quote(['curl', 'http://example.com/?foo=123&bar=baz']);
    # curl 'http://example.com/?foo=123&bar=baz'

DESCRIPTION

ShellQuote::Any escapes strings for the shell on Linux, UNIX or MSWin32.

METHOD

shell_quote(\@cmd [, $os])

If this method was called without $os, then \@cmd escapes for current OS. $os supports MSWin32 or Bourne.

REPOSITORY

ShellQuote::Any is hosted on github: http://github.com/bayashi/ShellQuote-Any

I appreciate any feedback :D

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

String::ShellQuote

Win32::ShellQuote

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.