Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: wrapping bloxsom with mason

by water (Deacon)
on Oct 24, 2005 at 07:39 UTC ( #502404=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502404]
help
Chatterbox?
[erix]: relax, LanX it takes all sorts ;)
[LanX]: I have a tight schedule and some keep changing the data model claiming I could adapt easily
[erix]: we're there to improve the average ;P
[erix]: ... that does sound pretty annoying...
[LanX]: ny boss is the poster boy of the Peter principle
[LanX]: ... ran a fries shack successfully and thinks the same methods apply to a restaurant

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-09-22 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?