use base 'Exporter';
use IO::File;
+use Text::ParseWords;
our @EXPORT_OK = qw(
$IPV6RE
return @data;
}
+# split an shell argument string into an array,
+sub split_args {
+ my ($str) = @_;
+
+ return $str ? [ Text::ParseWords::shellwords($str) ] : [];
+}
+
1;