Title: Maximum Hash key length?

Does anyone know what the maximum length of a hash key can be.
I am using very long string names for keys in a hash. Does anyone know what the key length limit is?

$key = "keyname....................

$hash{$key} = $somevalue;

Also, does anyone know how to predefine the length of a hash with multiple keys?

This defines 10,000 key/value pairs.
        %hash = 10_000;

How do you pre-define key/value pairs for $hash{key1}{key2}{key3}   ?

Thanks


James C. Hooker
Marconi - TAC

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to