WriteDB
This subroutine writes the contents of a hash out to a named file.
WriteDB(FileName, Hash)
FileName - The file you are trying to retrieve, including the full path.
Hash - The hash variable you want written out. NOTE: Must be passed by reference (by pre-pending the hash variable with a backslash)
These are actual examples from the Aneuch source code:
WriteDB("$PageDir/$archive/$file", \%F);
In this example, which comes from the AppendPage sub, the database will be written out to $PageDir/$archive/$file, and the contents will be everything in the hash %F.