Hey guys,
thank you so far for helping me with some beginner-errors.
Now I have another question.
I have an Hash, which Looks like this:
%hash{@key1} => [@array1, @array2, etc];
%hash{@key2} => [@array1, @array2, etc.];
Now I want to add a string at the end of the elements which belongs to the key. So at the end of the elements of key1, there should be a specific string. like this:
%hash{@key1} => [@array1, @array2, "abc"];
%hash{@key2} => [@array1, @array2, "abc"];
I tried it so far with this, but it did not work as expected.
push (@{$hash{$key}}, (@array1, "abc"));
I hope someone could help me! Regards
sandorado