my $script_command = $0; foreach (@ARGV) { $script_command .= /\s/ ? " \'" . $_ . "\'" : " " . $_; }