On Jun 13, 2006, at 12:15 PM, Thomas Nagel wrote:
So maybe:
---------
(1) MyClass is changed and therefore recompiled
(2) Another handler uses MyClass but
http://perl.apache.org/docs/2.0/api/Apache2/
Reload.html#Problems_with_Scripts_Running_with_Registry_Handlers_that_
Cache_the_Code
(3) therefore MyClass::stringify reference points to a non-existing
code
location (Not a CODE reference at..)
(4) The in place anonymous sub works but maybe with the old results
as the
sub is still 'in place' and can be called directly
to add:
http://www.gossamer-threads.com/lists/modperl/docs-dev/88033
philip submitted a patch that *might* have rendered my caveat
useless, but no one has been able to test definitively yet, so
everything is up in there air
its a variation of the existing cache issue.
essentially, if your classes are inheriting from myclass, then the
inherited class loses the overloaded sub , perl doesn't know to look
upwards for inheritance.
depending on your setup, that *could* be the issue.
| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -