system(1,$syscmd); #<-- 1 is the command executed #### system (1,$syscmd) == 0 or die "$syscmd failed: $?";