Just as an FYI, you don't need "exists" in your code at all. It is just a waste of time in your example. Should be beter writen as:

print "hi" if $n{11};

What if it's value is 0, '', or undef? It would exist but your test would miss it :)


--
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