Help for this page

Select Code to Download


  1. or download this
    my %presence;
    my $b = 1;
    ...
    } continue {
        $b *= 2;
    }
    
  2. or download this
    @list1only = grep { $presence{$_} == 1 } keys %presence;
    @list2only = grep { $presence{$_} == 2 } keys %presence;
    ...
    @lists1and2only = grep { $presence{$_} == 1+2 } keys %presence;
    @inall = grep { $presence{$_} == 1+2+4 } keys %presence;
    # etc