OT perl question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: charlie bullen
Date:  
Subject: OT perl question
A perl script is used to take data from a database. A web page is created on
the fly, from the data and the results are presented between preformated text
tags <pre> </pre>. Not knowing perl, would it be possible to take the text,
convert it to a .txt file and put a link on the created page to allow for the
download of the file.

Charlie