Dan Sugalski <[EMAIL PROTECTED]> wrote:

>> > startpairs(name)
>> > endpairs(name)

> start/end pairs does the same thing, only what gets frozen is a series of
> pairs (key/value things) rather than individual entries. And yes, I
> realize that you can simulate pairs with alternating key/value entries in
> the freeze stream, but I'd rather keep them separate.

In the mean time I've checked in freeze/thaw for PerlHash. It uses an
element count as list does. We could of course use your proposed scheme
with start/end-markers too. But thawing a list of a (first) unknown amount
of items isn't really as simple as having a count.

>                                       Dan

leo

Reply via email to