in reply to add element to hash
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 ☆☆☆☆ :)
striked syntax error
|
|---|