in reply to Re^6: Parse a file and store it in hash of hashes
in thread Parse a file and store it in hash of hashes

If you mean by "dump the data" that you are using Data::Dumper, have a look at $Data::Dumper::Sortkeys.

If not, maybe you can show us what you mean by "dump" and "haphazard manner".

  • Comment on Re^7: Parse a file and store it in hash of hashes