in reply to Re: Dereference array-elements
in thread Dereference array-elements

Thanks a lot, this is very helpful and you are right,  %hash = %$hashref was what I have meant.
It is also right, that looking up in a hash is always better and more perlish, but in my case the "primary key" is only primary at that moment.

Regards...