In the first case, you push three different records (anonymous hashes).
In the second case, you have one %recordset, a reference to which you push three times. The values you've assigned last to this recordset show up in all three items, simply because they're one and the same record.
In reply to Re: Newbie hash/sorting question
by Eliya
in thread Newbie hash/sorting question
by msensay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |