On Sun Sep 26 13:27:13 2010, sprout wrote: > This was fixed by: > > From 5e0caaeb4056614af54deb646e72147bdc6dcadc Mon Sep 17 00:00:00 2001 > From: Nicholas Clark <nick@ccl4.org> > Date: Mon, 22 Oct 2007 20:19:55 +0000 > Subject: [PATCH] SQL::Translator triggered a subtle piece of wrongness, > whereby it > managed to cause a proxy constant subroutine in the symbol table to > be upgraded to a GV at precisely the point where it was being > considered as a possible IO handle name. The core's user-space visible > behaviour certainly was buggy - I believe this patch to be the correct > fix. However, it seems to be very hard to write a test for it. > > p4raw-id: //depot/perl@32172 > > Was a test ever added? We could base one on this: > > perl5.9.5 -Mconstant=Just,0 -le 'sub > IO::Handle::a_japh{print*{$_[0]}=~/([^:]+)$/," another Perl hacker,"} > "Just"->a_japh' A test has been added in commit 7148157. -- Father Chrysostomos --- via perlbug: queue: perl5 status: open https://rt.perl.org:443/rt3/Ticket/Display.html?id=43663Thread Previous