Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Perl >> Snippet

25 Databases


dbmopen ( %myhash , "hashname" , 0644);     # opens hashname.pag & hashname.dir
dbmclose ( %myhash );

# change the %myhash values changes the content of the dbm file
# %myhash content before dbmopen is removed
# %myhash content after dbmclose is removed


delete $Hash { keyvalue }     # delete a pair
%Hash = ()                 # remove all entries