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