Help for this page

Select Code to Download


  1. or download this
    my $source = {
        f1 => 'garbage',
    ...
        f10 => [ 'important', 'data' ],
        f11 => [ 'more', 'garbage' ]
    };
    
  2. or download this
    my $filter = {
        f3 => 1,
    ...
        },
        f10 => 1
    };
    
  3. or download this
    my $output = {
        f3 => 'important data',
    ...
        },
        f10 => [ 'important', 'data' ],
    };
    
  4. or download this
    sub hash_filter {
      my $source = shift;
    ...
    
      return \%output;
    }