http://www.perlmonks.org?node_id=400685


in reply to Making a hash of arrays from a datafile

Your example look fine, just use print Dumper(\%DATAHASH);. and use my instead of local until you know the difference.
Boris