Perl
Chilkat2 Perl
Example: Http.GetDomain method
Demonstrates theGetDomain method.
Chilkat Perl Downloads
use strict;
use warnings;
use Chilkat2;
my $http = Chilkat2::Http->new;
my $domain = $http->GetDomain('https://chilkatsoft.com/refdoc/csharp.asp');
print $domain, "\n";
# Output: chilkatsoft.com