[EMAIL PROTECTED] suggested:
> 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};

Bad idea, if you consider this:

$n{'oops'} = 0;
print "hi" if $n{'oops'};
print "ho" if exists $n{'oops'};

HTH,
Thomas

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