Ah, thank you.
This brings up another issue. Now, when I try to freeze a PerlArray of PerlArray of "language/tcl/lib/tclword.imc"'s, I get:
unknown PMC type to thaw 1792
Ok, I go digging through the docs, find pdd02, which mentions "freeze" to say "XXX: ... need documenting." =-) A similar entry for freeze appears in pdd15. =-)
I tried adding the following .sub to tclword:
.sub __freeze method print "FEEZ\n" .pcc_begin_return .return "FEEZ" .pcc_end_return .end
But running the freezer, I get the same error.
Now, once this works, my freeze/thaw is basically going to amount to freezing my single attribute (another PerlArray of PerlArrays of...). Will it be kosher to have my __freeze method simply call freeze on the attribute and return the result?
Leopold Toetsch wrote:
William Coleda <[EMAIL PROTECTED]> wrote:
I tried escaping the frozen_pmc in the first example with Data::Escape::String, got the same result.
escape() was missing to escape NUL chars. Adding that and providing an ".end" for the evaled function makes it compile the code.
leo