Skip Menu |
 

This queue is for tickets about the Net-IP CPAN distribution.

Report information
The Basics
Id: 80164
Status: resolved
Priority: 0/
Queue: Net-IP

People
Owner: Nobody in particular
Requestors: migooel [...] gmail.com
Cc:
AdminCc:

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



From migooel [...] gmail.com Sat Oct 13 06: 34:16 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary=20cf307cfe6e141ec304cbee5866
Message-ID: <CAAC0mo2wp7hN-xu72SF-QV2v5APNb93HfVjM7pY3tOYp5H4Euw [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 621C72406A4 for <cpan-bug+Net-IP [...] hipster.bestpractical.com>; Sat, 13 Oct 2012 06:34:16 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xEjeCD61TcPs for <cpan-bug+Net-IP [...] hipster.bestpractical.com>; Sat, 13 Oct 2012 06:34:15 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 98BB0240210 for <bug-Net-IP [...] rt.cpan.org>; Sat, 13 Oct 2012 06:34:14 -0400 (EDT)
Received: (qmail 23468 invoked by uid 103); 13 Oct 2012 10:34:13 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 13 Oct 2012 10:34:13 -0000
Received: from mail-vb0-f50.google.com (HELO mail-vb0-f50.google.com) (209.85.212.50) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Sat, 13 Oct 2012 03:34:10 -0700
Received: by mail-vb0-f50.google.com with SMTP id fa15so3650834vbb.9 for <bug-Net-IP [...] rt.cpan.org>; Sat, 13 Oct 2012 03:34:07 -0700 (PDT)
Received: by 10.52.27.106 with SMTP id s10mr3226565vdg.12.1350124447211; Sat, 13 Oct 2012 03:34:07 -0700 (PDT)
Received: by 10.58.161.114 with HTTP; Sat, 13 Oct 2012 03:34:07 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Net-IP [...] hipster.bestpractical.com
Subject: perl Net::IP module - hexip value
Return-Path: <migooel [...] gmail.com>
X-RT-Mail-Extension: net-ip
X-Original-To: cpan-bug+Net-IP [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=DH2MC9aUpGujF1EshL+hH7Xa2j0C0UWXlBFyOO/eUc8=; b=SgDHgbADUiVIyycWb7VoK2Ywu+Z20fSX7w4nRedN0hT4DAYOptqYF8vKK2nkBVFtsT /ZlOiEvhwp3Y1hdLGBo+Dn3zQLACQ1e0x17GgWOMTkpYD3zzXsOBVq2wE2UKLG1fditE PdD1MjKUGb2Qu+F7VoajHO1qfgBSuFDbMZA2DFGWDhNrtdpt3mm5PZtk3G0MjqBPfc8l 2lTUZCSUbbfQr9gSCFDjVNI/awPVoEvT1w0kIzXJGIbeheZNCPg1QQJMvVfGTVE918IT eSNhwJqOXYqzFNW3RAx4xfhcmKD40VQpD1GifiyeB8AzrgWR+EwTaT1QA8Vl4bLv7zOh bbzw==
Date: Sat, 13 Oct 2012 12:34:07 +0200
X-Spam-Level:
To: manuel.valente [...] gmail.com, bug-Net-IP [...] rt.cpan.org
From: Miguel Rosa <migooel [...] gmail.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 937
Download (untitled) / with headers
text/plain 937b
Dear all, I'm using Net::IP module on ActivePerl (version 1.23 but also checked 1.25 at CPAN): *This is perl 5, version 14, subversion 2 (v5.14.2) built for MSWin32-x86-multi-thread* When I call the $ip->hexip for the first time it returns me the correct hex value but when I change the IP by using the ->set function it keeps returning me the hex value from the first IP I set. As a workaround I can always use "Net::IP new....". Bug correction is easy - just comment line 430 of hexip sub shown in red below # $Id: IP.pm,v 1.23 2003/02/18 16:13:01 manuel Exp $ #------------------------------------------------------------------------------ # Subroutine hexip # Purpose : Return the IP in hex format # Returns : hex string sub hexip { my $self = shift; #return $self->{'hexformat'} if(defined($self->{'hexformat'})); $self->{'hexformat'} = $self->intip->as_hex(); return $self->{'hexformat'}; } -- Miguel
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 1609
MIME-Version: 1.0
In-Reply-To: <CAAC0mo2wp7hN-xu72SF-QV2v5APNb93HfVjM7pY3tOYp5H4Euw [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAAC0mo2wp7hN-xu72SF-QV2v5APNb93HfVjM7pY3tOYp5H4Euw [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-25769-1442868762-973.80164-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 24
Fixed in 1.26 by Ulrich.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.