in reply to printing to filehandle contained in a hash
defies the entire purpose of using a hash. The above should bewhile (my ($fileh, $repoch) = each(%radar)){ if ($ltgepoch == $repoch) { ... } }
which means your keys and your values are backwards. Switch them around and it also solves the problem you asked about.if (exists($radar{$ltgepoch})) { ... }
|
---|