X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltie.pod;h=4befdaeee671d7b2bd65d2c30fa1549ec8105161;hb=363c40c40eaf5d0cfd92f460a3f838c41f9756ad;hp=7b8d4970ada051638788596b8f8fde79b903e354;hpb=029149a3a15c2ba446182d3da9b94b640c047cac;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltie.pod b/pod/perltie.pod index 7b8d497..4befdae 100644 --- a/pod/perltie.pod +++ b/pod/perltie.pod @@ -1080,6 +1080,13 @@ regardless of whether the hash is empty or hash elements). Localizing tied arrays or hashes does not work. After exiting the scope the arrays or the hashes are not restored. +Counting the number of entries in a hash via C +or C) is inefficient since it needs to iterate +through all the entries with FIRSTKEY/NEXTKEY. + +Tied hash/array slices cause multiple FETCH/STORE pairs, there are no +tie methods for slice operations. + You cannot easily tie a multilevel data structure (such as a hash of hashes) to a dbm file. The first problem is that all but GDBM and Berkeley DB have size limitations, but beyond that, you also have problems @@ -1091,10 +1098,6 @@ source code to MLDBM. Tied filehandles are still incomplete. sysopen(), truncate(), flock(), fcntl(), stat() and -X can't currently be trapped. -Counting the number of entries in a hash via C -or C) is inefficient since it needs to iterate -through all the entries with FIRSTKEY/NEXTKEY. - =head1 AUTHOR Tom Christiansen