Re: Perl: Reference found where even-sized list expected

Michael Wenger <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hi Christian!

Diese Zeile
>     %tmphash = $hash{$tmp};
muss so lauten:
     %tmphash = %{$hash{$tmp}};

Erklärung: '$hash{$tmp}' ist nur eine Referenz auf einen Hash. Sie muss 
dereferenziert werden.

Gruß,
Michael

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.