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


in reply to Hash element access -dereferenced hashes

Well this is embarassing ..!! i realized after writing the code that i had switched the order and the entry map{lucy} does not exist.... i suspect the problem is with the value 2 itself... update: as suspected , it was a null entry .. i tried changing the index and it works now ..thanks a lot..!!
  • Comment on Re: Hash element access -dereferenced hashes