Help for this page

Select Code to Download


  1. or download this
    my %histogram;
        $histogram{$_}++ for @list;
    
  2. or download this
    foreach (@data1) {
          $hist{$_}++ for $_;
    ...
    my @uni = keys %hist;
    
    print "@uni\n";
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    my @uni = keys %hist;
    
    print "@uni\n";