On Thu, Sep 13, 2012 at 03:07:11AM -0400, Jon Portnoy via RT wrote:
Show quoted text> Thu Sep 13 03:07:10 2012: Request 79612 was acted upon.
> Transaction: Ticket created by AVENJ
> Queue: Net-IP-Minimal
> Subject: s/_ip_is_ipv4/ip_is_ipv4/ on line 53
> Broken in: 0.02
> Severity: (no value)
> Owner: Nobody
> Requestors: AVENJ@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=79612 >
>
>
> Just a leading '_' on line 53 (_ip_is_ipv4), manifests when checking
> v4-in-v6 addresses:
>
> use Test::Simple tests => 1;
> use strict; use warnings FATAL => 'all';
> use Net::IP::Minimal 'ip_is_ipv6';
> ok( ip_is_ipv6( '::ff00:192.0.0.1' ), 'v6-encapsulated v4' );
Good catch >:)
Just released 0.04 to CPAN with the fix and included test.
Many thanks.
--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================