Browse files

docs additions

  • Loading branch information...
1 parent 5bd0954 commit d6ca4d58866ab2f4c7f5720513e48282ba57b957 Zbigniew Lukasiak committed Nov 21, 2010
Showing with 10 additions and 2 deletions.
  1. +4 −0 lib/
  2. +5 −1 lib/WebNano/
  3. +1 −1 webnano_article.html
4 lib/
@@ -300,6 +300,10 @@ Nearly every web application uses some templating engine - this is the
attribute to keep the templating engine object. It is not mandatory that you
follow this rule.
+=head2 DEBUG
+If set prints out some debugging information to stdout.
=for author to fill in:
6 lib/WebNano/
@@ -3,7 +3,6 @@ use warnings;
package WebNano::Controller;
-use Try::Tiny;
use URI::Escape 'uri_unescape';
use Plack::Request;
@@ -113,6 +112,11 @@ Plack::Reqest made from env
=head2 template_search_path
+=head2 DEBUG
+By default returns the DEBUG flag from the application. When this returns C<true> then
+some additional logging is directed to STDOUT.
=head2 url_map
2 webnano_article.html
@@ -86,7 +86,7 @@
The reason why WebNano is the fastest framework is probably that it just does
not do much. WebNano is really small, in it's 'lib' directory it currently has
-just 232 lines of code (as reported by <a href="">sloccount</a>)
+just 233 lines of code (as reported by <a href="">sloccount</a>)
and <a href=";perl=latest">minimal
dependencies</a>. There are CPAN libraries covering all corners of web
application programming - what the framework needs to do is provide a basic

0 comments on commit d6ca4d5

Please sign in to comment.