8.222. Tie::SubstrHashProvides a hash table-like interface to a fixed-sized array that has a constant key size and record size: require Tie::SubstrHash; tie %myhash, "Tie::SubstrHash", key_len, value_len, table_size; To tie a new hash to this package, specify the following:
An attempt to store a key/value pair in which either the key or the value is the wrong length, or in which the resulting table would be greater than table_size, results in a fatal error. Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|