perl-unicode

Re: Metadata interface - guts

1998-10-26 20:43:26
According to Ken Fox:
The question is what methods does core need to talk to metadata magic?
How about these for a start:

  meta -- support regex searches with metadata qualifiers

I suspect you mean "search" or "query" here.

  after_change -- sync metadata with data changes

Did you expect after_change() to take parameters indicating what range
was replaced with what new range?  I think that's relevant.  :-)

  before_change -- let metadata control access to data

That could be reasonable -- write-protect _part_ of a string.  Hm.

  serialize -- let metadata be saved to disk or sent across network

I'd prefer a "first/next" interface that would allow multiple
encodings.
-- 
Chip Salzenberg               - a.k.a. -              
<chip(_at_)perlsupport(_dot_)com>
 "... under cover of afternoon in the biggest car in the county?!" //MST3K