Perl
Perl
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Perl Downloads
use chilkat();
$success = 0;
$http = chilkat::CkHttp->new();
$url = "https://example.com/folder/page?lang=en&sort=asc#section2";
print $http->getUrlPath($url) . "\r\n";
# Output:
# /folder/page