Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: print htmlcode issueby mce (Curate) |
on Apr 19, 2002 at 11:53 UTC ( [id://160503]=note: print w/replies, xml ) | Need Help?? |
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: or change the STDOUT filehandle to something else using open.
Just my 0.02$ worth
In Section
Seekers of Perl Wisdom
|
|