in reply to Ending up with duplicate keys in a hash?\
Just a little detail I noticed... I am not sure if this is relevant or maybe even intended, but your event_hasher function has non-obvious side effects:
$_ =~ s/://g;
This will modify the event data structure because $_ is a writable alias into @event.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Ending up with duplicate keys in a hash?
by tangent (Parson) on Jan 11, 2016 at 00:29 UTC | |
by choroba (Cardinal) on Jan 11, 2016 at 00:40 UTC |