Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Which worked fine during my initial test cases. However, I just loaded a large sample of our real data into the system to run more tests and now I am getting the following error every 16th or 17th key:foreach my $key (sort {$a cmp $b} keys %$hash) { if (scalar %{$$hash{$key}} > 2) { #do something } else { #do something else } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scaler of a hash, odd problem
by Elian (Parson) on Dec 12, 2002 at 16:47 UTC | |
by Anonymous Monk on Dec 12, 2002 at 18:47 UTC | |
|
Re: Scaler of a hash, odd problem
by fruiture (Curate) on Dec 12, 2002 at 16:53 UTC |