Cyclone3 Skin

TOM::Net::HTTP

From Cyclone3 Wiki

HTTP-related toolbox.

domain_clear()

When passed an URI string, returns an array of clean top-level domain and query parameters. Returns undef, when an empty string is passed.

Syntax:

my ($domain, $vars)=TOM::Net::HTTP::domain_clear(
 'https://www.domain.com/en/subpage?var=value'
);