Dai Okabayashi > Plack-Middleware-Debug-LazyLoadModules-0.06 > Plack::Middleware::Debug::LazyLoadModules

Download:
Plack-Middleware-Debug-LazyLoadModules-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Plack::Middleware::Debug::LazyLoadModules - debug panel for Lazy Load Modules

SYNOPSIS ^

    use Plack::Builder;
    builder {
      enable 'Debug::LazyLoadModules';
      $app;
    };

or you can set `filter` option(Regexp reference) and `class` option(Foo/Bar.pm to Foo::Bar).

      enable 'Debug::LazyLoadModules',
        filter => qr/\.pm$/,
        class  => 1;

if you want to specify the element(ex. lazy, preload) for showing on the debug panel, you set `elements` option. All elements show on the debug panel by default.

      enable 'Debug::LazyLoadModules',
        elements => [qw/lazy/],

DESCRIPTION ^

Plack::Middleware::Debug::LazyLoadModules is debug panel for watching lazy loaded modules.

METHOD ^

prepare_app

see Plack::Middleware::Debug

run

see Plack::Middleware::Debug::Base

REPOSITORY ^

Plack::Middleware::Debug::LazyLoadModules is hosted on github <http://github.com/bayashi/Plack-Middleware-Debug-LazyLoadModules>

AUTHOR ^

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO ^

Plack::Middleware::Debug

LICENSE ^

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

syntax highlighting: