Ask a Question related to PERL Beginners, Design and Development.
-
Jeff Westman #1
Simple Hash Question
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
[url]http://search.yahoo.com/top2003[/url]
Jeff Westman Guest
-
Need Simple Answer to Simple Contribute/Firefox question
Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight... -
Simple Hash Question / NEVER MIND
DOH ..... DOH ..... NEVER MIND, user error ( <- gun to head) DOH ..... DOH ..... DOH ..... ... -
[PHP-DEV] hash table question
For my upcoming improvement of interbase.c, which features asynchronous handling of events posted in the database, I need to maintain a per-link... -
Another reference question (hash of hash references)
beginners, I am trying to build a hash of hash references. My problem is that I need to be able to add a key/value pair to the internal hashes...... -
Big hash question
I have a very large hash inside a script. The $values of the $keys can be very large. When the script runs, it takes a long time to load the...



Reply With Quote

