in reply to What data structure is this code looking for
The condition in your code will be true for key 6, but false for the others, because their values are a plain scalar and an arrayref, correspondingly.my $abc = { 1 => 2, 3 => [4, 5,], 6 => {7 => 8, 9 => 10,}, };
|
|---|