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.
ihbIn reply to Re: Re: using references as keys in a hash.
by ihb
in thread using references as keys in a hash.
by habit_forming
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |