in reply to find the domain name from subdomian

Maybe this will help?
#!/usr/bin/perl use strict; use warnings; use Sys::Hostname::FQDN qw(fqdn); my $fqdn = fqdn(); print $fqdn, "\n";

Replies are listed 'Best First'.
Re^2: find the domain name from subdomian
by susmith (Novice) on Mar 17, 2010 at 05:23 UTC
    I have list of sub-domain url in my table. I have find the domain name of each of these.