NAME
TAP::Parser::Utils - Internal TAP::Parser utilities VERSION Version 3.28 SYNOPSIS use TAP::Parser::Utils qw( splitshell )
my @switches = splitshell( $arg ); DESCRIPTION FOR INTERNAL USE ONLY! INTERFACE "splitshell" Shell style argument parsing. Handles backslash escaping, single and double quoted strings but not shell substitutions. Pass one or more strings containing shell escaped arguments. The return value is an array of arguments parsed from the input strings according to (approximate) shell parsing rules. It's legal to pass "undef" in which case an empty array will be returned. That makes it possible to
my @args = splitshell( $ENV{SOMEENVVAR} ); without worrying about whether the environment variable exists. This is used to split HARNESSPERLARGS into individual switches.
perl v5.16.3 2013-05-02 TAP::Parser::Utils(3)