Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 28551
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.21
Fixed in: (no value)



Subject: [PATH perl-5.6.[01] doUTF8 fix
Attached patch fixes doUTF8 for perl-5.6.0 and 5.6.1 where there was a utf8 module but no utf8::is_utf8 function. -- Reini Urban
Subject: libnet-1.21-5.6.patch
difforig libnet-1.21 2007-07-30 Reini Urban <rurban@x-ray.at> diff -ub libnet-1.21/Net/Cmd.pm.orig --- libnet-1.21/Net/Cmd.pm.orig 2007-05-19 13:56:18.000000000 +0000 +++ libnet-1.21/Net/Cmd.pm 2007-07-30 05:43:05.437500000 +0000 @@ -21,8 +21,8 @@ # Convert::EBCDIC->import; } } - -my $doUTF8 = eval { require utf8 }; +# 5.6.0 and 5.6.1 has utf8 but no utf8::is_utf8 +my $doUTF8 = eval { require utf8; require v5.6.2; }; $VERSION = "2.28"; @ISA = qw(Exporter);