Subject: | se_host returns TLD |
se_host() returns values even though the given URLs are not search
engines. I would expect it to only return a valid if a search engine
host was identified and nothing (empty string or undef otherwise)
Examples:
perl -E'use URI::ParseSearchString; $PSS=URI::ParseSearchString->new();
say $PSS->se_host("http://www.something.co.uk/")'
uk
My work-around is to look for a '.' in the returned value.
mtm