$self->{i}={[(110,FB),(100,F)]};
This is almost certainly not doing what you think it's doing.
You take two lists - (110, FB) and (100, F) - and flatten them into a single list - (110, FB, 100, F). You then create an anonymous array that contains this list. You then create an anonymous hash where the (single) key is the stringified reference to your anonymous array. There is no value associated with this key.
Adding "use strict" and "use warnings" to your code will really help you to track down problems like this.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
In reply to Re: Accessing values of a Hash object
by davorg
in thread Accessing values of a Hash object
by dReKurCe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |