Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    occurence28    C    a__bear;c__brown
    occurence29    B    a__wolf;c__red
    occurence30    B    a__wolf;c__grey
    
  2. or download this
    {
      bear  => { A => 6, B => 2, C => 6 },
    ...
      white => { wolf => { A => 1, C => 1 } },
      wolf  => { A => 4, B => 7, C => 5 },
    }
    
  3. or download this
    $analyse{$animal_color}{$animal_name}{$animal_type}++
              if defined $animal_color;
    
  4. or download this
    $analyse{$animal_color}{$animal_type}++
              if defined $animal_color;
    
  5. or download this
    {
      bear  => { A => 6, B => 2, C => 6 },
    ...
      white => { A => 1, C => 1 },
      wolf  => { A => 4, B => 7, C => 5 },
    }