A perl module to parse a domain down to the root TLD utilizing the Mozilla PublicSuffix file.
This module utilizes the "effective_tld_names.dat" provided by Mozilla as a way to effectively reduce a fully qualified domain name down to the absolute root. The Mozilla PublicSuffix file is an open source, fully documented format that shows absolute root TLDs, primarily for Mozilla's browser products to be able to determine how far a cookie's security boundaries go.
To install this module from Git, you will need Dist::Zilla. Once installed, run:
dzil authordeps | cpanm dzil install
To install this module from an archive, type the following:
perl Makefile.PL make make test make install
This module requires these other modules and libraries:
COPYRIGHT AND LICENSE
Copyright (C) 2008-2020 by Nicholas Melnick
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.