Skip to content
Domain::PublicSuffix - Perl module to parse a domain down to root using Mozilla PublicSuffix
Perl
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib/Domain
t
util
.gitignore
.travis.yml
Changes
README.md
dist.ini

README.md

Domain-PublicSuffix

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.

INSTALLATION

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

OR

   cpanm .

DEPENDENCIES

This module requires these other modules and libraries:

  • Class::Accessor::Fast
  • File::Spec
  • Net::IDN::Encode
  • Test::More

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.

You can’t perform that action at this time.