#!/usr/bin/perl print "Attempting shutdown script\n"; my $sysret = system("./server_down.sh"); print "-----[ Results ]---------------\n"; print "$sysret\n"; print "-----[ End of Results ]--------\n"; #script terminates here, why ???? #below lines will not execute print "line 1"; print "line 2";