in reply to add element to hash

> %hash{@key1} => [@array1, @array2, "abc"];

left side hash-slice syntax error => right side array-ref ...

...what???

like roboticus already tried to explain this doesn't make much sense, and we can't guess what the real question is.

Please show us real working code and use Data::Dumper to visualize the data ... that is input and desired output.

And please have a look at How (Not) To Ask A Question

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

update

striked syntax error