http://www.perlmonks.org?node_id=502404


in reply to Re: wrapping bloxsom with mason
in thread wrapping bloxsom with mason

Bloxsom is tiny tiny cool little single script that runs in several modes with embedded html, offers many plugins, etc. The send-info-to-screen isn't in one clear place. But more to the point, I'm not sure how to (despite the mason docs on on this very topic) how to change a cgi into something that gets itself wrapped by the mason autohandling autoload and dhandler processes....

If I had a trivial hello world perl cgi script like

print html_header; print "hellow world";
how would I get the core to be mason wrapped?
use HTML::Mason; my $interp = HTML::Mason::Interp->new (); ?????
Here, if hello.cgi were static (hello.html), mason would see the ending, and wrap the page....

but how to do this wrapping by hand?