Help for this page

Select Code to Download


  1. or download this
    @my_filtered_keys = grep {exists $x{$_} && $x{$_} =~ /Yeah hoo!/} 1..1
    +0;
    
  2. or download this
    @my_filtered_vals = map {exists $x{$_} && $x{$_} =~ /Yeah hoo!/ ? $x{$
    +_} : ()} 1..10;
    
  3. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    X:10
    X:5
    X:6