Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Mysterious ActiveState Perl Hangs

by simon.proctor (Vicar)
on Feb 18, 2002 at 13:32 UTC ( #146144=note: print w/replies, xml ) Need Help??


in reply to Mysterious ActiveState Perl Hangs

I can't comment on the bug itself but why don't you use the exists() function on your hash key prior to your logic?

Something like (untested):
unless(exists $hash{$key}) { # Do stuff return; } if($hash{$key} > 3) { # Other stuff }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://146144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2022-05-24 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (84 votes). Check out past polls.

    Notices?