The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Plack::Middleware::StackTrace::LinkedSource - Adding links to library source codes in stacktrace

SYNOPSIS

    enable 'StackTrace::LinkedSource';

DESCRIPTION

Plack::Middleware::StackTrace::LinkedSource provides stacktrace which includes links to library source code.

NOTE that you should turn off this middleware in the production environment.

MIDDLEWARE CONFIGURATION

lib => ($lib || \@lib) // [@INC]

library path

viewer => $code_ref_for_plack // Plack::App::SourceViewer instance

source code viewer instance

view_root => $view_root // '/source'

root of source code path

see more configurations on Plack::Middleware::StackTrace

METHODS

prepare_app

call

REPOSITORY

Plack::Middleware::StackTrace::LinkedSource is hosted on github: http://github.com/bayashi/Plack-Middleware-StackTrace-LinkedSource

I appreciate any feedback :D

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

Plack::Middleware::StackTrace

Plack::App::SourceViewer

LICENSE

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