in reply to How do I dynamically create a hash table?

We have tried out this way:

@list_of_elements = split /;/,$variable_with_keys_and_values);
%new_hash = (@list_of_elements);

We think this is more simple (just two lines!)

- Franco e Giuseppe.
  • Comment on Re: How do I dynamically create a hash table?