http://www.perlmonks.org?node_id=1222397


in reply to Sorting list of domain names by TLD and subdomain

Nice script. Wondering if there's a way to ignore the sub-directories with periods. The script thinks they're domains.