1 package Maypole::HTTPD::Frontend;
5 use CGI::Maypole 2.11; # 2.11 has collect_output()
7 use base 'CGI::Maypole';
9 sub get_request { shift->cgi(CGI->new) }
13 sub send_output { $output = shift->collect_output }
14 sub output_now { print $output; undef $output }
21 Maypole::HTTPD::Frontend - Maypole driver class for Maypole::HTTPD
25 This is a simple CGI based Maypole driver for L<Maypole::HTTPD>. It's used
26 automatically as the frontend by L<Maypole::Application>.
28 It overrides the following functions in L<CGI::Maypole>:
34 Instantiates a L<CGI> object representing the request.
38 Stores generated output in a buffer.
44 Actually output what's been buffered by send_output. Used by L<Maypole::HTTPD>
48 L<Maypole>, L<Maypole::HTTPD>