August 11th, 2005

belize

Pain with perl's method dispatch

Update: I think it turned out to be my bug, but Perl 5.8.4 and Perl 5.8.7 handled it differently, which still freaks me out.

Is it safe in Perl to cast references up and down the class hierarchy at runtime? It always appeared to work (on perl 5.8.7), but it doesn't seem to work on perl 5.8.4. I see nothing in the changelogs about this.

Collapse )
So I'm confused. Is perl's method dispatch cache not being cleared?