in reply to Printing to a specific place in a file
{news} Read your whole file into a variable say $page_html and replace: $page_html =~ s/\{news\}/$news_html/; [download]