README
1Net/LibIDN version 0.12
2=======================
3
4This module provides Perl bindings for GNU Libidn by Simon Josefsson
5(http://www.gnu.org/software/libidn/) in way that was heavily inspired
6by PHP bindings for the same library done by Turbo Fredriksson
7(http://php-idn.bayour.com/).
8
9INSTALLATION
10
11To install this module type the following:
12
13 perl Makefile.PL [--with-libidn=<LIBPATH> --with-libidn-inc=<INCPATH> --disable-tld]
14 make
15 make test
16 make install
17
18Installing under Cygwin:
19
20 Sergei Koladka reports that the first make line above needs to be replaced by
21
22 make LD_RUN_PATH="/usr/lib" LDLOADLIBS="/usr/lib/libidn.a
23 \/usr/lib/libiconv.dll.a"
24
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
28 checking support.
29
30DEPENDENCIES
31
32This module requires these other modules and libraries:
33
34 GNU Libidn >=0.5.0
35
36Linux hint: If Makefile.PL says that it cannot find GNU Libidn, even though
37you compiled/installed it, consider adding the location of the Libidn .so
38files to /etc/ld.so.conf. Also, take a look at the --with-libidn and
39--with-libidn-inc options.
40
41COPYRIGHT AND LICENCE
42
43 Perl Module Net::LibIDN
44
45 Copyright 2003-2009, Thomas Jacob, Internet24.de
46 All rights reserved
47
48 This program is free software; you can redistribute it and/or modify
49 it under the terms of either:
50
51 a) the GNU General Public License as published by the Free
52 Software Foundation; either version 1, or (at your option) any
53 later version, or
54
55 b) the "Artistic License" which comes with this Kit.
56
57 This program is distributed in the hope that it will be useful,
58 but WITHOUT ANY WARRANTY; without even the implied warranty of
59 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
60 the GNU General Public License or the Artistic License for more details.
61
62 You should have received a copy of the Artistic License with this
63 Kit, in the file named "Artistic". If not, I'll be glad to provide one.
64
65 You should also have received a copy of the GNU General Public License
66 along with this program in the file named "Copying". If not, write to the
67 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
68 02111-1307, USA or visit their web page on the internet at
69 http://www.gnu.org/copyleft/gpl.html.
70
71 For those of you that choose to use the GNU General Public License,
72 my interpretation of the GNU General Public License is that no Perl
73 script falls under the terms of the GPL unless you explicitly put
74 said script under the terms of the GPL yourself. Furthermore, any
75 object code linked with perl does not automatically fall under the
76 terms of the GPL, provided such object code only adds definitions
77 of subroutines and variables, and does not otherwise impair the
78 resulting interpreter from executing any standard Perl script. I
79 consider linking in C subroutines in this manner to be the moral
80 equivalent of defining subroutines in the Perl language itself. You
81 may sell such an object file as proprietary provided that you provide
82 or offer to provide the Perl source, as specified by the GNU General
83 Public License. (This is merely an alternate way of specifying input
84 to the program.) You may also sell a binary produced by the dumping of
85 a running Perl script that belongs to you, provided that you provide or
86 offer to provide the Perl source as specified by the GPL. (The
87 fact that a Perl interpreter and your code are in the same binary file
88 is, in this case, a form of mere aggregation.) This is my interpretation
89 of the GPL. If you still have concerns or difficulties understanding
90 my intent, feel free to contact me. Of course, the Artistic License
91 spells all this out for your protection, so you may prefer to use that.
92
93