You can certainly do that; you might find some of the functions in
CGI.pm to be easier to use as to avoid 'polluting' your code with direct HTML, or you could look at the templating modules (
Text::Template,
HTML::Template, for example) to move HTML out from perl and into supplimentary files.
Just don't forget to end your perl statements above with semicolons (';'). Also, if you use quotes for things like the img src tag, you'll need to escape them (eg, enter it as "src=\"something.jpg\"").
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain