Skip Menu |
 

This queue is for tickets about the List-Maker CPAN distribution.

Report information
The Basics
Id: 72021
Status: open
Priority: 0/
Queue: List-Maker

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

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



Subject: Incorrect global override
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 598
Download (untitled) / with headers
text/plain 598b
The CORE::GLOBAL::glob override forwards to File::Glob::bsd_glob if the caller did not load List::Maker. That is not what perl uses by default, which would be File::Glob::csh_glob instead. Hence, loading List::Maker anywhere in a program will cause <* .*> to stop working elsewhere. Why not just export glob in import, instead of overriding it globally? And if you need to override it globally, for some reason, then you should save the previous CORE::GLOBAL::glob in a variable, if it exists, and then delegate to that, or to the built-in glob function if CORE::GLOBAL::glob does not exist.
From thoughtstream [...] gmail.com Fri Oct 28 21: 03:14 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.573 tagged_above=-99.9 required=10 tests=[AWL=-0.463, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2602-1319831451-209.72021-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-72021 [...] rt.cpan.org> <rt-3.8.HEAD-2602-1319831451-209.72021-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CAATtAp6R_T5Uye7aB04bz5Uxm02f+jsJUde6HKa-C2N+yimUzA [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.573
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6DA7B2406B6 for <cpan-bug+List-Maker [...] hipster.bestpractical.com>; Fri, 28 Oct 2011 21:03:14 -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 5+UL8gP+tJ8j for <cpan-bug+List-Maker [...] hipster.bestpractical.com>; Fri, 28 Oct 2011 21:03:12 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 14C92240529 for <bug-List-Maker [...] rt.cpan.org>; Fri, 28 Oct 2011 21:03:11 -0400 (EDT)
Received: (qmail 29007 invoked by uid 103); 29 Oct 2011 01:03:11 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 29 Oct 2011 01:03:11 -0000
Received: from mail-iy0-f178.google.com (HELO mail-iy0-f178.google.com) (209.85.210.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 28 Oct 2011 18:03:09 -0700
Received: by iaqq3 with SMTP id q3so5165614iaq.9 for <bug-List-Maker [...] rt.cpan.org>; Fri, 28 Oct 2011 18:03:07 -0700 (PDT)
Received: by 10.42.133.9 with SMTP id f9mr7500639ict.16.1319850187117; Fri, 28 Oct 2011 18:03:07 -0700 (PDT)
Received: by 10.42.218.197 with HTTP; Fri, 28 Oct 2011 18:02:26 -0700 (PDT)
Delivered-To: cpan-bug+List-Maker [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72021] Incorrect global override
Return-Path: <thoughtstream [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=vROvZ60Q3Ng5vQbl+blenNFS+T6Zukc/R0dizCvvyPI=; b=egmk3JjraxwoMmHXhnPCQtMsaVqwr0ZSIuGvT38pLCG/KbRjh9Dp0TNhOpzZgBj60W 4FSjGJShZpioKY2Yc1nN+/J2VAgo1twnPbb3Zhz4ZRb7aXt7Fk4hwCPzrwbYa4w/f/ta RCySWgOpEg+TQqFANgXS2Ba00mGPfBRE5Tlmo=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+List-Maker [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-maker
X-Google-Sender-Auth: 1z96gypy4eFvwRCmnXLWHGn-LlI
Sender: thoughtstream [...] gmail.com
Date: Sat, 29 Oct 2011 12:02:26 +1100
X-Spam-Level:
To: bug-List-Maker [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
RT-Message-ID: <rt-3.8.HEAD-2599-1319850195-1592.72021-0-0 [...] rt.cpan.org>
Content-Length: 221
Download (untitled) / with headers
text/plain 221b
Fixed and uploaded to CPAN. Many thanks! Damian PS: List::Maker previously followed the documented behaviour of File::Glob, rather than the actual behaviour. So there's arguably a bug in File::Glob as well. ;-)
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2599-1319850195-1592.72021-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-72021 [...] rt.cpan.org> <rt-3.8.HEAD-2602-1319831451-209.72021-4-0 [...] rt.cpan.org> <CAATtAp6R_T5Uye7aB04bz5Uxm02f+jsJUde6HKa-C2N+yimUzA [...] mail.gmail.com> <rt-3.8.HEAD-2599-1319850195-1592.72021-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2603-1319936189-1609.72021-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 354
Download (untitled) / with headers
text/plain 354b
On Fri Oct 28 21:03:15 2011, damian@conway.org wrote: Show quoted text
> Fixed and uploaded to CPAN. > Many thanks! > > Damian > > PS: List::Maker previously followed the documented behaviour of > File::Glob, rather than the actual behaviour. So there's arguably a > bug in File::Glob as well. ;-)
See <http://perl5.git.perl.org/perl.git/commitdiff/ffd7a473>.
From thoughtstream [...] gmail.com Sat Oct 29 21: 22:32 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.566 tagged_above=-99.9 required=10 tests=[AWL=-0.456, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2603-1319936190-44.72021-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-72021 [...] rt.cpan.org> <rt-3.8.HEAD-2602-1319831451-209.72021-4-0 [...] rt.cpan.org> <CAATtAp6R_T5Uye7aB04bz5Uxm02f+jsJUde6HKa-C2N+yimUzA [...] mail.gmail.com> <rt-3.8.HEAD-2599-1319850195-1592.72021-5-0 [...] rt.cpan.org> <rt-3.8.HEAD-2603-1319936190-44.72021-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CAATtAp5k98Jr9BaY=4Kz6=HMpoy_XUO3fFsv_=Rij3Wb+0SpVA [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.566
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 9E05B240BEC for <cpan-bug+List-Maker [...] hipster.bestpractical.com>; Sat, 29 Oct 2011 21:22:32 -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 odT75PI-tETI for <cpan-bug+List-Maker [...] hipster.bestpractical.com>; Sat, 29 Oct 2011 21:22:31 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id DAC2A240267 for <bug-List-Maker [...] rt.cpan.org>; Sat, 29 Oct 2011 21:22:30 -0400 (EDT)
Received: (qmail 2435 invoked by uid 103); 30 Oct 2011 01:22:30 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 30 Oct 2011 01:22:30 -0000
Received: from mail-iy0-f178.google.com (HELO mail-iy0-f178.google.com) (209.85.210.178) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sat, 29 Oct 2011 18:22:27 -0700
Received: by iadj38 with SMTP id j38so926509iad.9 for <bug-List-Maker [...] rt.cpan.org>; Sat, 29 Oct 2011 18:22:24 -0700 (PDT)
Received: by 10.42.133.9 with SMTP id f9mr13158180ict.16.1319937744132; Sat, 29 Oct 2011 18:22:24 -0700 (PDT)
Received: by 10.42.218.197 with HTTP; Sat, 29 Oct 2011 18:21:43 -0700 (PDT)
Delivered-To: cpan-bug+List-Maker [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #72021] Incorrect global override
Return-Path: <thoughtstream [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=OfiZu5MwS/TRZIwmbDcVBb+SE6OigdVdPqK+yV1LSvg=; b=lKD/BXu+D6wOOfBvX59OABZoTXvxM1dCdgrLgit5k+tpu18dHq4vgK7oEKJbd1z4V4 ZcRUDf7J4MA/O7hMELF0vawY8DJaJpqIzv2sXtep/LzUCpEZ8/+7gn+ut5AhL06MGIuY 0OWwXtOe0cD47ohjuO3PO0geYhCQQI76bwu0k=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+List-Maker [...] hipster.bestpractical.com
X-RT-Mail-Extension: list-maker
X-Google-Sender-Auth: 6rc1MSSMc1urxFfH0z3bNFbG_24
Sender: thoughtstream [...] gmail.com
Date: Sun, 30 Oct 2011 12:21:43 +1100
X-Spam-Level:
To: bug-List-Maker [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
RT-Message-ID: <rt-3.8.HEAD-2600-1319937753-18.72021-0-0 [...] rt.cpan.org>
Content-Length: 98
Show quoted text
Excellent. Thanks again. Damian


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.