Response Raw - Raw text view plugin
my $response = $hector->getResponse(); $response->setContent("Hello World");
This view plugin allows you to simply append content to the resulting web page.
Content is displayed at the end of the page request.
$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.
MacGyveR <dumb@cpan.org>
Development questions, bug reports, and patches are welcome to the above address.
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.
To install PSGI::Hector, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PSGI::Hector
CPAN shell
perl -MCPAN -e shell install PSGI::Hector
For more information on module installation, please visit the detailed CPAN module installation guide.