Plack::App::SourceViewer - The Source Code Viewer for Plack
use Plack::App::SourceViewer; my $app = Plack::App::SourceViewer->new(root => "./lib")->to_app; # Or map the path to a specific file use Plack::Builder; builder { mount "/source" => Plack::App::SourceViewer->new(root => './lib')->to_app; mount "/" => sub { [200, [], ["OK"]] }; };
Plack::App::SourceViewer provides the viewer of source code as HTML.
Plack::App::SourceViewer is hosted on github: http://github.com/bayashi/Plack-App-SourceViewer
I appreciate any feedback :D
Dai Okabayashi <bayashi@cpan.org>
Syntax::Highlight::Engine::Kate
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Plack::App::SourceViewer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::App::SourceViewer
CPAN shell
perl -MCPAN -e shell install Plack::App::SourceViewer
For more information on module installation, please visit the detailed CPAN module installation guide.