The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Response Raw - Raw text view plugin

SYNOPSIS

        my $response = $hector->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.

Notes

Author

MacGyveR <dumb@cpan.org>

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

See Also

Copyright

Copyright (c) 2017 MacGyveR. All rights reserved.

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