in reply to Re: Re: Replace a line with a new one
in thread Replace a line with a new one

Ah, ok... I understood from the code that you are trying to join the strings, from the concatenation operator ^_^. I should make it a habit to make notice of the english...
$_ = "my newline\n" if ($i == 3); print TEMP $_;
hope this works...

-nuffin zz zZ Z Z #!perl