in reply to Re: converting a text into a hash datastructurein thread converting a text into a hash datastructure
BTW I think your API interface is badly designed...
Homework assignments are sometimes designed to illuminate such common pitfalls :)