in reply to Re: using references as keys in a hash.
in thread using references as keys in a hash.
Ironically, your code snippets above try to use references as keys, although unintentionally. The lines I'm referring to are %nestedhash = { and my %thisrecord = { ref => $ref, val => $val }; Both should be using parentheses instead of curly brackets.
ihb
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using references as keys in a hash.
by jonadab (Parson) on Feb 25, 2003 at 05:44 UTC |