$host .= '.foo.com' unless $host =~ /.foo.com$/;
admittedly lazy, but i do use the trick here at work all the time. then, the problem of host vs host.foo.com (which are the same) is resolved.
the IP resolution trick might not work for hosts w/ more than one IP address ( routers, for one )
In reply to RE: Re: extract uniques and sort
by geektron
in thread extract uniques and sort
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |