From e78b9aad4a9dd07f7a664ce722f5e7bbf1b89498 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 20 Jun 2010 14:13:11 +0200 Subject: add abstract --- lib/Dancer/Debug.pm | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) (limited to 'lib/Dancer') diff --git a/lib/Dancer/Debug.pm b/lib/Dancer/Debug.pm index 4d0f7f0..aa3a912 100644 --- a/lib/Dancer/Debug.pm +++ b/lib/Dancer/Debug.pm @@ -1,23 +1,27 @@ package Dancer::Debug; +# ABSTRACT: Extend Plack::Middleware::Debug with some specific panels for Dancer + use strict; use warnings; our $VERSION = '0.01'; 1; -__END__ -=head1 NAME +=head1 SYNOPSIS -Dancer::Debug - Extension for Dancer specific panel to L +You can activate the panels in your development configuration file: -=head1 SYNOPSIS + plack_middlewares: + Debug: + - panels + - + - Parameters + - Dancer::Version + - Dancer::Settings + - Dancer::Logger - my $handler = sub { - my $env = shift; - my $request = Dancer::Request->new($env); - Dancer->dance($request); - }; +or in your app.psgi: $handler = builder { enable "Debug", @@ -27,17 +31,4 @@ Dancer::Debug - Extension for Dancer specific panel to Lfranck@lumberjaph.netE - -=head1 SEE ALSO - -=head1 LICENSE - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - -=cut +Dancer::Debug extends L with some specific panels for Dancer. -- cgit 1.4.1