Thread map grep (9 answers)
Opened by gast at 2009-04-24 21:29

neniro
 2009-04-24 21:48
#120871 #120871
User since
2008-12-14
79 Artikel
BenutzerIn
[default_avatar]
ungetestet:
Code (perl): (dl )
1
2
3
my %hash2 = map { $_, $hash1{$_} }
            grep { /foo/ }
            keys %hash1;
-- yet another amateur perl hacker

View full thread map grep