Editing version 1 of page APIs_WriteDB (this is the most recent revision)
Note: This page is defined as a special page, and as such its final state may be different from what you see here.
Use template:
None
API_Template
DevTrack_Template
Version_Template
==Subroutine Name
**WriteDB**
==Explanation and Usage
This subroutine writes the contents of a hash out to a named file.
==Syntax
**`WriteDB(FileName, Hash)`**
==Options
**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)
==Examples
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.
This page is a template
Summary:
User name:
Upload a file
By contributing to this wiki, you acknowledge that you waive your right to claim copyright of your individual contributions. The text of this site is uncopyrighted and released to the public domain.
Show markup help Styling **bold **, //italic //, __underline __, --strikethrough--, `teletype ` Headers = Level 1 =, == Level 2 ==, === Level 3 ===, ==== Level 4 ====, ===== Level 5 ===== (ending ='s optional) Lists * Unordered List, # Ordered List, ** Level 2 unordered, ### Level 3 ordered (up to 5 levels, NO SPACES IN FRONT) Links [[Page]], [[Page|description]], [[http://link]], [[http://link|description]] Images {{image.jpg}}, {{right:image.jpg}} (right aligned), [[link|{{image.jpg}}]] (image linked to link), {{image.jpg|alt text}} Extras ---- (horizonal rule), ~~~~ (signature)