Domain validation methods Perl module