in reply to cgi output.

As well as here documents, qq{ } is well useful for this.

print qq{ this HTML's "full" of <P class="funky"> 'unescaped quotes' and interpolated $vars</P> <IMG SRC="$img"> };

andy.