system('some_command') && die 'cannot execute some_command'; # or system 'some_command' and die 'cannot execute some_command';