How can I enter in a carriage return when doing a text substitution?
Suppose you mean a newline...
The right side of the s/// operator works as a double-quoted string. Accordingly, you can do it just like you would have added a newline to a double-quoted string.
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>