in reply to print htmlcode issue

Hi,

I don't know what your skill level is in perl, so I'll try to be general.

print is a function which prints to the selected filehandle, by default STDOUT and returns true or false

A way to actually print something into a variable is to use sprintf.

BUT..., I guess your design isn't completely what is should be. Start by seperating the input to the output, and do something like this:

$STDOUT_OVERRIDE_VARIABLE= <<HTMLCODE; ZXCZXC zxcZXCzx zxczxczxc zxczxczxzx HTMLCODE print STDOUT $STDOUT_OVERRIDE_VARIABLE;
or change the STDOUT filehandle to something else using open.

Just my 0.02$ worth
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium