Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have an HTML page which is dynamically generated at runtime and should be post-processed by Embperl. How can I do this?

0
Posted

I have an HTML page which is dynamically generated at runtime and should be post-processed by Embperl. How can I do this?

0

• 1.) Generate the page within a normal CGI/Apache::Registry script and put the result into a scalar – then you can call HTML::Embperl::Execute to post-process your document. Execute can either send the document to the browser or put it into another scalar for further processing. • 2.) Use EMBPERL_INPUT_FUNC (1.1b1 and above). With this configuration directive, you can specify a custom input function which reads the HTML source from the disk or even from a database. Embperl also provides the function ProxyInput, which allows you to get input from another web server altogether. • 3.) Look at the module Apache::EmbperlChain, which is able to chain multiple modules, including Embperl, together.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123