Masatoshi Mizuno
and 1 contributors

NAME

Net::Domain::TldMozilla - TLD of the Mozilla source is returned.

SYNOPSIS

  use Net::Domain::TldMozilla;
  
  my @Tld= Net::Domain::TldMozilla->get;

DESCRIPTION

TLD is acquired and returned from the source open to the public on the Mozilla site.

Please set HTTP_PROXY of the environment variable if you use Proxy.

  $ENV{HTTP_PROXY}= '192.168.0.1:8080';

METHODS

get_tld

The list of TLD is returned.

  my $TLD= Net::Domain::TldMozilla->get;

ENVIRONMENT VARIABLE

The following environment variables are treated.

  • TLD_MOZILLA_URL

    So that URL of the Mozilla site may change.

  • TLD_MOZILLA_TEMP

    Passing preservation of cache file ahead.

    Default is '/tmp'.

SEE ALSO

LWP::Simple, File::Slurp, Jcode,

AUTHOR

Masatoshi Mizuno <lushe(@)cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Bee Flag, Corp. <http://egg.bomcity.com/>.

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.