It seems that Net::Domain::TLD has changed its API. The Net::Domain::TLD->new->All line throws an error. I solved it replacing that line by:
my my @all_tlds = Net::Domain::TLD::tlds;
for my $tld ( sort @all_tlds ) {
And the output at the time of writing is:
.cd 66.113.70.101
.mp 66.135.225.102
.museum 195.7.77.20
.nu 62.4.64.119
.nu 69.25.75.72
.nu 212.181.91.6
.ph 203.167.64.64
.pw 69.20.61.189
.so 127.0.0.3
.st 195.178.186.40
.tk 195.20.32.77
.tk 195.20.32.78
.vg 66.113.70.101
.ws 216.35.187.251
Hugo
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|