in reply to Re^4: Lose first element of hash in hash ..
in thread Lose first element of hash in hash ..

Well, if you do

cat rooms.txt

what do you see?

> cat rooms.txt bed-There is ...

or

> cat rooms.txt bed-There is ...

If you see the second variant, then you have a \n at the start of your file. Maybe you should read the file line by line, or sanitize your input.