in reply to Re^6: Replacing substrings within hash values
in thread Replacing substrings within hash values

a variable for each key

That's just another hash.

my %offset = (); # inserts $offset{$key} += 1; # length of insert # deletes $offset{$key} -= 1;
poj