Thread strict und my (52 answers)
Opened by jan10001 at 2003-10-05 22:02

kabel
 2003-10-06 11:18
#61250 #61250
User since
2003-08-04
704 Artikel
BenutzerIn
[default_avatar]
[quote=betterworld,06.10.2003, 02:28]Wobei allerdings bei einem Hash die Gefahr groesser denn je ist, dass man sich vertippt.[/quote]
nö ...

Quote
[...]

lock_keys(%hash);
lock_keys(%hash, @keys);

Restricts the given %hash's set of keys to @keys. If @keys is not given it restricts it to its current keyset. No more keys can be added. delete() and exists() will still work, but will not alter the set of allowed keys. [...]

CPAN:aus dem Hash::Util POD

das ist ein neues feature in 5.8.0
-- stefan

View full thread strict und my