You can put it anywhere you like and output it to the browser as long as you have a
print "Content-type: text/html\n\n"; before it. It won't look pretty because there'll probably be another one further down the page, but it'll work.
Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...