Note that for general DNS applications, a hash is not necessarily the best choice of data structure, because one domain might resolve to different IP addresses (209.197.123.153 , 66.39.54.27 for PerlMonks) and multiple domains might resolve to the same IP address(es) (perlmonks.org , perlmonks.net and perlmonks.com use these two IP addresses). But for well-known, "major" IP addresses, a simple hash lookup might be what's needed.
In reply to Re^3: Creating hash with variables
by Corion
in thread Creating hash with variables
by vonedaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |