@args = ("learn.sh", "arg1", "arg2"); system(@args) == 0 or die "system @args failed: $?" #### my $output = qx/learn.sh arg1 arg2/