Kewl! I didn't know you could do that, $_ .= $sometext; That's just what I needed. Beats the heck out of the search and replace I was doing when I didn't need to.
Thanks all! d Wags had this to say, > if ( /^That_Text\s=\s2/ ) { > $_ .= $addText; > }else { > s/^This_Text.*$/That_Text = 2/; > } > You don't need the $_ since this is the default for regex searches and replaces. > Wags ;) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]