Help for this page

Select Code to Download


  1. or download this
    for my $var (map lc, grep exists $hash_ref->{lc $_}, @vars) {
        print "Value: " . $hash_ref->{$var} . "\n" ;
    }
    
  2. or download this
    for my $var (map $hash_ref->{lc $_}, grep exists $hash_ref->{lc $_}, @
    +vars) {
        print "Value: " . $var . "\n" ;
    }
    
  3. or download this
    print "Value: " . $_ . "\n"
        for
            map $hash_ref->{lc $_},
                grep exists $hash_ref->{lc $_},
                    @vars;
    
  4. or download this
    print "Value: " . $hash_ref->{$_} . "\n"
        for
            grep exists $hash_ref->{$_},
                map lc,
                    @vars;