{ local($/) = "...end of paragraph delimiter..."; while () { my $line = process_paragraph($_); print OUT2 $line; } }