man VCP::DB_File::sdbm () - Subclass providing SDBM_File storage
NAME
VCP::DB_File::sdbm - Subclass providing SDBM_File storage
SYNOPSIS
use VCP::DB_File; VCP::DB_File->new;
DESCRIPTION
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 CW <<CIlabelCW> > to be allowed before pattern expressions (but not between pattern and result), and we could then impelement CW <<goto CIlabelCW> >. And a CW <<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 :).
AUTHOR
Barrie Slaymaker <barries@slaysys.com>
COPYRIGHT
Copyright (c) 2000, 2001, 2002 Perforce Software, Inc. All rights reserved.
See VCP::License (CWvcp help license) for the terms of use.