hi all...
I noticed today that this now works
PerlLogHandler 'sub { warn shift->as_string }'
(a favorite debugging line of mine), much to my surprise, since I know back in 1.99_07 (before I implemented as_string) I tried it and it didn't work - it threw the 'anonymous handlers not (yet) supported' error from modperl_mgv.c.
I built 1.99_08 and 1.99_09 and it seems to work with both of those too. I couldn't get 1.99_07 to compile, but I'll try again tomorrow just to see.
since I can't find this feature specifically implemented in Changes, I'm thinking support for it was introduced by accident. however fortuitous, this feature just creeping in kinda gives me the willies. or maybe it means we're one step closer to handling handlers as anonymous subs...
so, anybody have any clue about how anon subroutines just happen to work from httpd.conf now?
They aren't really anonymous subroutines, but source strings which get compiled into anonymous subs at run-time.
Now there is a proper support for the anon subs.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]