in reply to Uninit Value - Hash Value Compare
Also, note that
my $hash = %$hashRef;
is most probably wrong, did you mean
instead? Your version populates a scalar variable $hash with the size of the hash and the rest of the code operates on the %hash variable from the outer scope.my %hash = %$hashRef;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Uninit Value - Hash Value Compare
by kchinger (Initiate) on Nov 05, 2020 at 16:47 UTC | |
by AnomalousMonk (Archbishop) on Nov 05, 2020 at 18:07 UTC |