Next Lightweight Databases 76

Small DBMs: ODBM, NDBM, and SDBM

        use Fcntl 'O_RDWR', 'O_CREAT';
        use SDBM_File;
        tie %h, "SDBM_File", "/tmp/sdbm", O_RDWR|O_CREAT, 0666
            or die $!; 
        $h{ouch} = "-" x 1024; 
        print "ok\n"; 
        sdbm store returned -1, errno 22, key "ouch" at sdbm_fail line 6.


Next Copyright © 2003 M. J. Dominus