Geoffrey Young wrote:
anyway, the code is meant to be more of an illustration than a module you would want to use in production, but still...
And it suffers from a pretty terrible dependency on the internal structure of the module you are peeking at to be static. You are basically defining a copy of the internal configuration structure of a module and can't ever be guaranteed that it will remain the same.
indeed. and we mention all of these in the text :)
I imagined as much ;-)
But, I have to admit to having done exactly just that at least once in a production environment, so... it is inedeed just another way to do it.
and we all know how often httpd changes internal structures, especially in 1.3 ;)
httpd core, maybe not, but what if you use a trick like this one to, say, peek at mod_php's internals ? I suspect that's a much more 'variable' target.
and bonus karma points to anyone who groks the latin phrase on page 299 ;)
ill got, ill spent ;-)
:)
one translation had it as more of an idiom, meaning "nothing good can come of this," which was my indended meaning.
I knew that =l-)
--Geoff
-- -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature