|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Hash assignments using mapby japhy (Canon) |
| on Feb 25, 2007 at 00:15 UTC ( #601938=note: print w/ replies, xml ) | Need Help?? |
|
In addition to what others have said, you could do: 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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||