while (<IN>) { ($name, @fields) = split '|'; for (0..5) { $value += 2**$_ if $fields[$_] } $people{$name} = $value; } # People with fields 0 and 3 but nothing else for (keys %people) { print if $people{$_} ^ 58; }
In reply to Re: Relational textfile?
by n3dst4
in thread Relational textfile?
by peppiv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |