in reply to How do I dynamically create a hash table?
@list_of_elements = split /;/,$variable_with_keys_and_values); %new_hash = (@list_of_elements);