in reply to line numbers and line content into hash

I want to thank all you guys for the answers. I'm absorbing everything you've said. They've been really helpful in steering me clear of "hammer-to-crack-a-nut" city.