Hi 2teez,
Thanks for reply! As I replied to Ken and shadowsong, I expect exactly what you got here, that is, the code prints the paragraphs separately. However, when I execute the perl codes on my computer, it returns the whole text back. I am not sure why this happens......