1 Net/LibIDN version 0.07
2 =======================
4 This module provides Perl bindings for GNU Libidn by Simon Josefsson
5 (http://www.gnu.org/software/libidn/) in way that was heavily inspired
6 by PHP bindings for the same library done by Turbo Fredriksson
7 (http://php-idn.bayour.com/).
11 To install this module type the following:
13 perl Makefile.PL [--with-libidn=<LIBPATH> --with-libidn-inc=<INCPATH> --disable-tld]
18 Installing under Cygwin:
20 Sergei Koladka reports that the first make line above needs to be replaced by
22 make LD_RUN_PATH="/usr/lib" LDLOADLIBS="/usr/lib/libidn.a
23 \/usr/lib/libiconv.dll.a"
25 assuming that Libidn was compiled with --prefix=/usr. You also will need to
26 remove the >>die "This module requires GNU Libidn..."<<-line and manually set
27 $libidn either to 2 or 1 depending on whether you have/want to use TLD
32 This module requires these other modules and libraries:
34 GNU Libidn >=0.4.0, >=0.3.5 (without TLD checking support)
35 (lower versions might work, don't know)
39 Perl Module Net::LibIDN
41 Copyright 2003-2004, Thomas Jacob, Internet24.de
44 This program is free software; you can redistribute it and/or modify
45 it under the terms of either:
47 a) the GNU General Public License as published by the Free
48 Software Foundation; either version 1, or (at your option) any
51 b) the "Artistic License" which comes with this Kit.
53 This program is distributed in the hope that it will be useful,
54 but WITHOUT ANY WARRANTY; without even the implied warranty of
55 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
56 the GNU General Public License or the Artistic License for more details.
58 You should have received a copy of the Artistic License with this
59 Kit, in the file named "Artistic". If not, I'll be glad to provide one.
61 You should also have received a copy of the GNU General Public License
62 along with this program in the file named "Copying". If not, write to the
63 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
64 02111-1307, USA or visit their web page on the internet at
65 http://www.gnu.org/copyleft/gpl.html.
67 For those of you that choose to use the GNU General Public License,
68 my interpretation of the GNU General Public License is that no Perl
69 script falls under the terms of the GPL unless you explicitly put
70 said script under the terms of the GPL yourself. Furthermore, any
71 object code linked with perl does not automatically fall under the
72 terms of the GPL, provided such object code only adds definitions
73 of subroutines and variables, and does not otherwise impair the
74 resulting interpreter from executing any standard Perl script. I
75 consider linking in C subroutines in this manner to be the moral
76 equivalent of defining subroutines in the Perl language itself. You
77 may sell such an object file as proprietary provided that you provide
78 or offer to provide the Perl source, as specified by the GNU General
79 Public License. (This is merely an alternate way of specifying input
80 to the program.) You may also sell a binary produced by the dumping of
81 a running Perl script that belongs to you, provided that you provide or
82 offer to provide the Perl source as specified by the GPL. (The
83 fact that a Perl interpreter and your code are in the same binary file
84 is, in this case, a form of mere aggregation.) This is my interpretation
85 of the GPL. If you still have concerns or difficulties understanding
86 my intent, feel free to contact me. Of course, the Artistic License
87 spells all this out for your protection, so you may prefer to use that.