Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Geo-IPfree CPAN distribution.

Report information
The Basics
Id: 133012
Status: new
Priority: 0/
Queue: Geo-IPfree

People
Owner: Nobody in particular
Requestors: andreas.mock [...] web.de
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Spam-Status: No, score=-2.096 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001] autolearn=no autolearn_force=no
X-Mailer: Microsoft Outlook 16.0
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
X-Provags-ID: V03:K1:3+sN1uhFaEDe51yUJmBxtrb/q10dcX9urzUWyhtmM9Kzpa3dcpK s47dbExRiRcSFRh2Bs6YvUcmEFzD+oBi27tapd6opM99PqYooKTJekxmIohyGOcYBfj6yyu 0pve5M9OPyPjzLvtexIV5bQv4R7gHjwnBuBa0re8wJpBeYtAiOtwHIEzF/XsYCqcCD6G+Lc I8uI1XZPg09Eu+0ZSqBVg==
Content-Language: de
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BC_01D65BA4.6FED11A0"
Message-ID: <00bb01d65b93$ac62bb00$05283100$ [...] web.de>
X-Ui-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.096
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D3C002401BB for <cpan-bug+Geo-IPfree [...] hipster.bestpractical.com>; Thu, 16 Jul 2020 13:20:56 -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 S0eIm3ZfHlkx for <cpan-bug+Geo-IPfree [...] hipster.bestpractical.com>; Thu, 16 Jul 2020 13:20:55 -0400 (EDT)
Received: from xx1.develooper.com (xx1.develooper.com [147.75.38.233]) by hipster.bestpractical.com (Postfix) with ESMTPS id BCB3C2400C3 for <bug-Geo-IPfree [...] rt.cpan.org>; Thu, 16 Jul 2020 13:20:55 -0400 (EDT)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 4F10A7C1C3 for <bug-Geo-IPfree [...] rt.cpan.org>; Thu, 16 Jul 2020 10:20:54 -0700 (PDT)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id CD00F7CEEC for <bug-Geo-IPfree [...] rt.cpan.org>; Thu, 16 Jul 2020 10:20:49 -0700 (PDT)
Received: from mout.web.de (mout.web.de [212.227.17.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 6ED1B7C1C3 for <bug-Geo-IPfree [...] rt.cpan.org>; Thu, 16 Jul 2020 10:20:48 -0700 (PDT)
Received: from Hochzoll2 ([93.104.42.208]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mvslx-1komBN3f0x-00sw68 for <bug-Geo-IPfree [...] rt.cpan.org>; Thu, 16 Jul 2020 19:08:07 +0200
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] web.de
X-Ui-Out-Filterresults: notjunk:1;V03:K0:Nv6jW8ERZt8=:UiYdo7Cy+zXRc9dWDdlO6e eaUgPkdNOa5T+BprKFT+HlP4iqF4zweBdl7jnTN/mi54wtwWbpjmgkWLzRvp90EBBawVaa549 K4UGoZxybYm+sdtPdWZVeSpvEkpiFa0RHni0Vjy9O/u1B0u6yRLStSwTrWkrLDJlUOkxXnyWB thkc2tGOHApdjk4Wfcoi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qwgih+8lFN76TvHuB9Q==
Delivered-To: cpan-bug+Geo-IPfree [...] hipster.bestpractical.com
Subject: Problem with Geo::IPfree 1.151940
Return-Path: <andreas.mock [...] web.de>
Thread-Index: AdZbk3IAy04zCWlCTJuctokS5lk21g==
X-RT-Mail-Extension: geo-ipfree
X-Original-To: cpan-bug+Geo-IPfree [...] hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1594920046; bh=c/7AZVZFArQYOhtWzqnBXVZvQ4IlP7ucvfnDXr2w+rA=; h=X-UI-Sender-Class:From:To:Subject:Date; b=fNl2ONUBCzU0KVPM0jCGJ/f0PguoWqCQLFACnJaiDUrkPEw7VSqQcVAcli4rGioFD NhybZJ7s+bPz7gkquVFwuPzSP3VBdpclZk8SK3T7Mqd8uqFs1DI2+6dgcWBx6J/tOt leKZFpxTzQP3qXkZmMmhOgvuetmT3N61P278xLkA=
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_70_90 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTH_SIZE_3000_MORE 0, BODYTEXTP_SIZE_3000_LESS 0, DKIM_ALIGNS 0, DKIM_SIGNATURE 0, FORGED_MUA_OUTLOOK 0, KNOWN_MTA_TFX 0, NO_CTA_FOUND 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, SXL_IP_TFX_WM 0, __BODY_NO_MAILTO 0, __BODY_TEXT_X4 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DKIM_ALIGNS_1 0, __DKIM_ALIGNS_2 0, __FRAUD_MONEY 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_MONEY_DENOMINATION 0, __FRAUD_MONEY_VALUE 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HTML_FONT_BLUE 0, __HTML_MSWORD 0, __HTML_TAG_DIV 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __MULTIPLE_URI_TEXT 0, __OUTLOOK_MUA 0, __OUTLOOK_MUA_1 0, __PHISH_SPEAR_SUBJ_ALERT 0, __SANE_MSGID 0, __STYLE_RATWARE_NEG 0, __STYLE_TAG 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_MAILTO 0, __USER_AGENT_MS_GENERIC 0, __blackholes.mail-abuse.org_ERROR , __zen.spamhaus.org_ERROR '
X-PMX-Perl: Suspicious Attachment
Date: Thu, 16 Jul 2020 19:08:04 +0200
X-Spam-Level:
X-Greylist: delayed 759 seconds by postgrey-1.34 at xx1.develooper.com; Thu, 16 Jul 2020 10:20:48 PDT
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2019.11.28.70017
To: <bug-Geo-IPfree [...] rt.cpan.org>
From: "Andreas Mock" <andreas.mock [...] web.de>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 1027
The following code shows a problem with Geo::IPfree while loading the module dynamically with two different approaches. Both approaches thow an exception. --------------------------8<-------------------------- #!/usr/bin/perl use strict; use warnings; use 5.010; use Module::Runtime qw(require_module);; use Class::Load qw(load_class); # First Attempt my @y = map { require_module('Geo::IPfree'); } qw(1); # Second Attempt #my @y = map { # load_class('Geo::IPfree'); #} qw(1); __END__ # Problematic code in Geo/IPfree.pm # # Solution: # a) Using explicit variable storing the read lines # or # b) localize $_ # 28 { 29 my $c = 0; 30 %baseX = map { $_ => ( $c++ ) } @baseX; 31 $base = @baseX; 32 33 my @data; 34 while ( <DATA> ) { 35 last if m{^__END__}; 36 chomp; 37 push @data, split m{ }, $_, 2; 38 } 39 %countrys = @data; 40 } --------------------------8<-------------------------- Best regards Andreas
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 6745


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.