MacGyveR > CGI-Mungo > CGI::Mungo::Response::Raw

Download:
Mungo/CGI-Mungo-1.9.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Response Raw - Raw text view plugin

SYNOPSIS ^

        my $response = $mungo->getResponse();
        $response->setContent("Hello World");

DESCRIPTION ^

This view plugin allows you to simply append content to the resulting web page.

Content is displayed at the end of the page request.

METHODS ^

setContent()

        $response->setContent("Hello World");

Append a scalar string to the current web page content. If an undefined value is passed any currently defined content will be removed.

Author ^

MacGyveR <dumb@cpan.org>

Development questions, bug reports, and patches are welcome to the above address

Copyright ^

Copyright (c) 2011 MacGyveR. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: