Sample code for 30+ languages & platforms
Perl

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Perl Downloads

Perl
use chilkat();

$http = chilkat::CkHttp->new();

$domain = $http->getDomain("https://chilkatsoft.com/refdoc/csharp.asp");
print $domain . "\r\n";

# Output: chilkatsoft.com