http://qs1969.pair.com?node_id=298942


in reply to How can I get which Windows domain an IP belongs to?

You might have to consult the Dark Gods to get this answer. I don't know if Perl-fu is strong enough for this. (Though, of course, the White Knight will disagree with me.)

In addition, this might require a stronger sacrifice than just a chicken. You might have to sacrifice a whole goat for this one. Though, personally, I'd start with a white dove and increase the sacrifice as needed.

In case you don't remember the sacrificial hierarchy, it's:

  1. mice
  2. rats
  3. white doves
  4. cats
  5. black doves
  6. non-purple dogs
  7. non-red chickens
  8. purple dogs
  9. red chickens
  10. sheep
  11. white goats
  12. small children with birthmarks
  13. black goats
  14. small children without birthmarks

(This response is meant completely in humor. I have no idea what nbstat does, let alone how to get Perl to play with it. The opportunity was too good not to take.)

------
We are the carpenters and bricklayers of the Information Age.

The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6

... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.