VCP::DB_File::sdbm3pm
Subclass providing sdbm_file storage
Usage
use VCP::DB_File;VCP::DB_File->new;
Overview
To write your own DB_File filetype, copy this file and alter it. Then ask us to add an option to the .vcp file parsing to enable it.
- dump
-
$db->dump( \*STDOUT );my $s = $db->dump;my @l = $db->dump;Dumps keys and values from a DB, in lexically sorted key order. If a filehandle reference is provided, prints to that filehandle. Otherwise, returns a string or array containing the entire dump, depending on context.
Limitations
There is no way (yet) of telling the mapper to continue processing the rules list. We could implement labels like " <<label"> > to be allowed before pattern expressions (but not between pattern and result), and we could then impelement " <<goto label"> >. And a " <<next"> > could be used to fall through to the next label. All of which is wonderful, but I want to gain some real world experience with the current system and find a use case for gotos and fallthroughs before I implement them. This comment is here to solicit feedback :).
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.