perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [mp2 Patch] ModPerl::Util::undef(coderef)
Date Thu, 19 Jun 2003 06:21:53 GMT
Philippe M. Chiasson wrote:
> Following the discussion on Apache::Reload and Apache::Symbol, I've
> taken out Apache::Symbol::undef from mp1, massaged it a bit and made it
> into ModPerl::Util::undef for mod_perl 2.
> Works wonders when you want to undefine subroutines, constant or not,
> with or without prototypes. Very usefull for Apache::Reload (can get rid
> of that $SIG{__WARN__} trap).

As suggested in the other thread, ModPerl::Util::undef is not the best choice 
for the name. Me thinking either call ModPerl::Util::symbol_undef or have 
further subclassing: ModPerl::Util::Symbol::undef

Otherwise +1, but again please first ask Doug why hasn't he ported this code 
in first place.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message