DOH   .....
DOH   .....
NEVER MIND, user error ( <- gun to head)
DOH   .....
DOH   .....
DOH   .....

============================================



Hi ....

I have a hash defined as

my %flag3 = ( A => "DBSpace backup thread",
              B => "Begin work",
              C => "Commiting/committed",
              H => "Heuristic aborting/aborted",
              P => "Preparing/prepared",
              R => "Aborting/aborted",
              X => "XA prepare" );

I want to print out the value of the corresponding key -- without a loop
iteration.  The following works (displays 'value exists'), but is not what I
want

print "value exists" if exists $flag3{$pos3};

I want this to print the string.

HELP PLEASE!

TIA


--
Jeff


__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to