Skip Menu |

This queue is for tickets about the ParseUtil-Domain CPAN distribution.

Report information
The Basics
Id: 87339
Status: resolved
Priority: 0/
Queue: ParseUtil-Domain

People
Owner: Nobody in particular
Requestors: twmattyoung [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: File a bug for ParseUtil::Domain
Date: Thu, 25 Jul 2013 22:07:47 -0700
To: bug-ParseUtil-Domain [...] rt.cpan.org
From: Matt Yang <twmattyoung [...] gmail.com>
perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for darwin-2level and also on my another linux "This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi" Show quoted text
> perl a.pl carbuyer.uk
Error processing domain. Please report to package maintainer. at a.pl line 4. Show quoted text
> cat a.pl
use ParseUtil::Domain ':parse'; my $dname = shift; my $processed = parse_domain($dname); print "$processed->{domain}\n"; print "$processed->{zone}\n"; Please let me know if this is a bug or it is my mistake. Thanks, P.S I use this module to parse some domain from the URL embedded in my incoming email. -- Matt Yang
Hi, I did some checking as I was not sure myself if Nominet had changed their rules, and I believe the problem that domains registered directly under .uk are not possible. Nominet only allows domain registrations under a specific set of second level domains. The list can be found in Appendix A of this web page: http://www.nominet.org.uk/uk-domain-names/registering-uk-domain/choosing-domain-name/rules My module is intended to only allow valid domains and "carbuyer.uk" is strictly speaking not a valid domain name. If you still think this is an error or can find documentation of domains directly under .uk, I'd be happy to change the module to allow them. Regards, Travis Holton
Nominet does offer .uk in the meantime. ParseUtil::Domain should support this.