### returncode 0 is success, 1+ is failure my $returnCode = system("nmblookup -r -T $client"); print "returnCode: $returnCode\n";