I'm not sure the correct terminology to use, and perhaps that why i can't find an answer.
I want to be able to mimick the PHP (ugh) behavior or embeding perl in HTML. Thats not the program. The problem is i want the embeded perl to be able to "print" to the web page, but i want it to actualy print to a variable for further processing. Is there some way to catch the output of print statements? or perhaps overide the print function? or open a filehandle that i can somehow monitor and append the output into a variable.
I hope this is clear enough. Please feel free to tell me to search so long as you help me choose good keywords. What do you call this?
___________In reply to Appending print to a variable by eric256
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |