in reply to hashes with multiple values per key

try use warnings.

what's the output of Dumper \%map?

  • Comment on Re: hashes with multiple values per key

Replies are listed 'Best First'.
Re^2: hashes with multiple values per key
by Anonymous Monk on Apr 04, 2006 at 10:02 UTC
      well, after you filled that map. it can't be empty as you get some output.
        oh sorry! printing the wrong thing. i get this:
        'c3638256-3637330 ' => 'nonisland', 'c5186660-5185929 ' => 'island', '2492050-2492826 ' => 'nonisland', 'c2912723-2911074 ' => 'nonisland', '4270483-4271283 ' => 'nonisland', 'c3382955-3382149 ' => 'nonisland', 'c50327-49533 ' => 'nonisland', '5593618-5594448 ' => 'nonisland', 'c2175920-2175063 ' => 'nonisland', 'c3251621-3250926 ' => 'nonisland', 'c73634-72498 ' => 'plasmid', 'c3426507-3423520 ' => 'nonisland', '5978831-5980213 ' => 'nonisland', 'c599874-598564