INET6Glue.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::INET6Glue;
2 $VERSION = "0.602";
3 use Net::INET6Glue::INET_is_INET6;
4 use Net::INET6Glue::FTP;
5 1;
6  
7 =head1 NAME
8  
9 Net::INET6Glue - Make common modules IPv6 ready by hotpatching
10  
11 =head1 SYNOPSIS
12  
13 use Net::INET6Glue; # include all glue
14 use LWP;
15 use Net::SMTP;
16 use Net::FTP;
17 ..
18  
19 =head1 DESCRIPTION
20  
21 L<Net::INET6Glue> is a collection of modules to make common modules IPv6 ready
22 by hotpatching them.
23  
24 Unfortunatly the current state of IPv6 support in perl is that no IPv6 support
25 is in the core and that a lot of important modules (like L<Net::FTP>,
26 L<Net::SMTP>, L<LWP>,...) do not support IPv6 even if the modules for IPv6
27 sockets like L<Socket6>, L<IO::Socket::IP> or L<IO::Socket::INET6> are available.
28  
29 This module tries to mitigate this by hotpatching.
30 Currently the following submodules are available:
31  
32 =over 4
33  
34 =item L<Net::INET6Glue::INET_is_INET6>
35  
36 Makes L<IO::Socket::INET> behave like L<IO::Socket::IP> (with fallback to
37 like L<IO::Socket::INET6>), especially make it capable to create IPv6 sockets.
38 This makes L<LWP>, L<Net::SMTP> and others IPv6 capable.
39  
40 =item L<Net::INET6Glue::FTP>
41  
42 Hotpatches L<Net::FTP> to support EPRT and EPSV commands which are needed to
43 deal with FTP over IPv6. Also loads L<Net::INET6Glue::INET_is_INET6>.
44  
45 =back
46  
47 =head1 COPYRIGHT
48  
49 This module and the modules in the Net::INET6Glue Hierarchy distributed together
50 with this module are copyright (c) 2008..2014, Steffen Ullrich.
51 All Rights Reserved.
52 These modules are free software. They may be used, redistributed and/or modified
53 under the same terms as Perl itself.
54