in reply to Newbie(and notso newbie?) warning!
That's just a guess, without seeing more code.foreach my $key (%hash) { my $session = $hash{$key}; # autovivification here if (should_delete($session)) { # receives 'undef' delete $hash{$key}; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Newbie(and notso newbie?) warning!
by Rex(Wrecks) (Curate) on Nov 13, 2001 at 21:33 UTC |