in reply to Inspecting perl's method cache?

The method cache just lives in the GP of each glob. The CV entry is only valid if the CVGEN is either 0 or equal to PL_sub_generation. PL_sub_generation is incremented each time you create a new glob, or you create a new ref to a sub and similar things that might invalidate the previous method lookup.