Ooops..sorry..I think you would enter it in the text file like this
Quote:
hi-hello! | how are you?


also, add the p switch to the w in the $read line(s)