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


in reply to Re^2: Creating a hash with key generated by a sub?
in thread Creating a hash with key generated by a sub?

I should clarify: In other places, get_md5() is passed with one argument, which I assumed you wanted concatenated to $secret to make the key. The way map was originally set up, it was not passing anything to get_md5() -- it was calling it with no arguments and using $_ as the hash value. Unless I'm missing something ...