Hi,
If i have a global hash %GLOBAL of strings like this:
(
1 => "str1",
2 => "str2",
.
.
.
)
the strN may have about 15000 bytes...
if i delete one position of the hash, the memory allocated to that string will be freed?
or should i do something like:
1) delete position from %HASH
2) copy %HASH to %TEMP
3) redeclare %HASH or undefine it
4) copy %TEMP to %HASH
5) undefine %TEMP
thanks
If i have a global hash %GLOBAL of strings like this:
(
1 => "str1",
2 => "str2",
.
.
.
)
the strN may have about 15000 bytes...
if i delete one position of the hash, the memory allocated to that string will be freed?
or should i do something like:
1) delete position from %HASH
2) copy %HASH to %TEMP
3) redeclare %HASH or undefine it
4) copy %TEMP to %HASH
5) undefine %TEMP
thanks