$command_line = "c:\\execu $first_build "; # note trailing space $command_line .= join " ", @other_builds; $command_line .= " file.c";