You're question's not particularly clear, and that's a complete stab in the dark *grin* - could you post a little more about what it is you're trying to achieve?my %hash; my $key = "test"; if (exists $hash{$key}) { # do something } else { # do something else }
-- Foxcub
#include www.liquidfusion.org.uk
In reply to Re: equal keys in a hash
by Tanalis
in thread equal keys in a hash
by campbell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |