in reply to Re^3: Can't get hash keys to print
in thread Can't get hash keys to print

I think it's the format of the input file. (UNIX)
I removed the $ from the regex and it works fine.
I don't quite understand why though.