$path = "/old/new2.sh"; $command ="$path"; system $command; my $output = qx/new2.sh /;