Step through your first loop by hand and see what is assigned each time through it. $broken->{this} is assigned "1" the first time, but is being assigned "0" and the second and third pass. Similarly for $broken->{that} and $broken->{another}.
The end result is that only the results for the last pass is stored in the hash keys.
In reply to Re: Ternary operators
by boftx
in thread Ternary operators
by geistberg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |