jason white wrote: > > Pretty low level question here... > Any one got a good pointer on how to convert Carriage returns/linefeeds > etc. I just need to be able to capture them and then I'll convert them > into <br> tags . Basically I want it to take the cr , lf, or crlf and make > it like the user put it in (if they put a hard return). I know the ascii > values are 10 and 13. I've done this with other scripting languages > (ToolBook, HyperCard etc.) but not in Perl yet. Is it just a matter of > converting Hex values? > s/(\015\012?|\012)/<BR>$1/g; Enjoy. Ronald ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org