Name : perl-Tie-TwoLevelHash
| |
Version : 1.2
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.2
| Date : 2015-06-10 23:48:12
|
Group : Development/Libraries/Perl
| Source RPM : perl-Tie-TwoLevelHash-1.2-6.2.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Tied interface to multi-dimensional (Two-Level) hash files
|
Description :
This is the Tie::TwoLevelHash module. It is a TIEHASH interface which lets you tie to a text file which is a multi-dimensional (two level) hash.
To use it, tie a hash to a directory:
tie(%hash, \'Tie::TwoLevelHash\', $file, \'rw\'); # Open in read/write mode
If you pass \'rw\' as the third parameter, you\'ll be in read/write mode, and any changes you make to the hash will create or modify the file. If you don\'t open in read/write mode you\'ll be in read-only mode, and any changes you make to the hash won\'t have any effect in the given file. It\'s actually useless to tie to the file in read mode and make write calls to it, or the hash you are tying to it. If you do, it may croak, depending on what you are trying. If you want to grab values and play with them, do that in your script, and get the values out of the hash name you are tying with, so you can write to a local hash, and not affect, or try to affect the hash you are tying with.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/openSUSE_Tumbleweed/noarch |