On Nov 29, 2007, at 10:34 PM, Will Coleda (via RT) wrote:
from DEPRECATED.pod:
The C<get_mro> opcode is deprecated (replaced by C<inspect>) and
will be
removed after the 0.5.0 release.
A quick read of PDD17 shows that to replace get_mro, I probably want
the inspect_str vtable, exposed via the inspect_p_p_s opcode.
There's no indication in the docs what the value for $3 should be to
get at the mro; Ok, I'll find an example that uses get_mro, then use
inspect_p_p to get a hash of all characteristics, and find the
obvious mro one... Only one usage in t, in t/pmc/resizablepmcarray.t :
new P0, 'ResizablePMCArray'
get_mro P1, P0
ok, I'll try
$P1 = new 'ResizablePMCArray'
$P2 = inspect $P1
boom.
inspect() not implemented in class 'ResizablePMCArray'
What next?
--
Will "Coke" Coleda
[EMAIL PROTECTED]