Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
This library provides support for reading and processing dictionaries stored in text files.
require "dict.pl"; @DICT_DFLT_REPORT = ... @dict_rest = ... $success = &DictFetch($file, $begin, $delimiter, $end, $prefix); $ok = &DictPrint($strm, $level, $buffer_name, $bufref, @report);
A dictionary is a collection of items where each item has:
DICT_DFLT_REPORT is the default report for DictPrint. It:
dict_rest is the set of lines in the last file processed by DictFetch which are not in the dictionary.
DictFetch inputs filename as a dictionary.
DictPrint outputs a dictionary using report. If no report is specified, DICT_DFLT_REPORT is used.
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog