in reply to Multi-line input fields

Do you mean "end of field" or "end of record"? If it's end of record then you should look at the $/ variable.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you don't talk about Perl club."