perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [PATCH] prototypes/constant redefinition warnings from ModPerl::Util
Date Sat, 08 Nov 2008 14:14:28 GMT


-            undef &$fullname;
+            delete ${$fullname}{CODE};

I swear there is some p5p history here that treats that slot differently
when it's undef versus exists.  IIRC an early 5.8.0 iteration broke
mod_perl because of exactly this (or, if you prefer, mod_perl exposed a
feature of perl that we prefer to remain ;)

anyway, I'm a little backed up, but I don't post to p5p often, so you
should be able to find the thread - I'm pretty sure I brought it up, but
I can't recall.

anyway, I think we need to check that before committing this part.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message