# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #33801]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=33801 >


Hi,

I have been working on a dynamic PMC that calls into 'gdbm'. 'gdbm' is a
file based database, that provides dictionary lookup.

There are no fancy features yet. INVAL, FLOATVAL, PMC and STRINGS are
converted to char arrays and are written to the database file. The
conversions are not unlike for the FixedPMCArray PMC.
The keys are also converted to strings, just like in the Hash and PerlHash
PMC.
Fetched values are either STRINGs or String PMCs.

The availability of 'libgdbm.so' is checked during the Parrot configuration,
which is not nice.

TODO:
- support for iteration
- support for Data/Dumper
- Grab test suite from Perl5 sources
- Bindings for Berkeley DB
- Put support for file databases into a nice library ???
- Tieable Hashes ???

CU, Bernhard

 
 

-- 
/* [EMAIL PROTECTED] */

+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION fïr Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben

Attachment: pmc_gdbmhash_20050116.patch
Description: Binary data

Reply via email to