in reply to Hash assignments using map
which you would then test with exists $keepers{$x}. Althought I'm curious why you need the %keepers hash if you have the @to_keep array.my @to_keep = (...); my %keepers; @keepers{@to_keep} = ();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Hash assignments using map
by njcodewarrior (Pilgrim) on Feb 25, 2007 at 02:52 UTC | |
by japhy (Canon) on Feb 25, 2007 at 14:03 UTC |