my @options = qw(--arg1=$num1, --arg2=file.log, . . . -argLast=$numLast ); my @result = `command @options`;