#...call to function &SomeFunction($a, $b, $c); #...in the function @args = ("$program $a $b $c"); system(@args) == 0 or die "system @args failed: $?";