Posted on 2005-05-31 16:54:50-07 by wbeaver
Problems with tld_get_table and tld_check
I'm having problems getting return values for tld_get_table and tld_check functions. Even the below will not work (I'm assuming because tld_get_table returns an undef. value).
my $tld="com"; # "com" is just a sample, tried other TLDs... my $hashref = tld_get_table($tld); print STDOUT ".TLD Version: $hashref->{version}\n";
GNU libidn libidn 0.5.6 is intalled with TLD support (at least the content of the old makefiles looks good) and I saved a log of my Net::LibIDN install from CPAN and it has several lines seem to indciate TLD support, as well. I have failed in attempts to manually run tld_get_table from the GNU libidn command interface - not sure I entirely understand the syntax. Depending on syntax I can return results of 19 code points to 67 code points with no clear logic as to where the codepoints are from, etc. I'd sure appreciate any insight anyone might have on how I might otherwise check/verify TLD support in either the Perl lib or the GNU distro. Oh, I'm using Perl ver 5.8.00, and the CPAN module is most recent available as of May 2005 (perhaps version 0.8...) Thanks, Wayne Beaver
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.