foreach my $item (LARGE_LIST) { $key = property($item); $record{$key}++; if(condition_is_true($item)) { $flag{$key} = undef; } } # later if (exists $flag{$key}) { # flag is on }
In reply to Re: How to create a compact data structure?
by perrin
in thread How to create a compact data structure?
by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |