Thank you 1nickt. Would there be a better way to return the entire code without ending prematurely? In a regular Perl script, using CGI, I would use the print command. However, this is totally a different context. I haven't figured out a command that would work.