Sample code for 30+ languages & platforms
Perl

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Perl Downloads

Chilkat2 Perl
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