Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Repo improvements

  • Loading branch information...
commit b3e12c9c5b0e0f92a42cf022f9f6b24ba7714993 1 parent 67b044a
Zbigniew Lukasiak authored
Showing with 21 additions and 20 deletions.
  1. +1 −0  README.pod
  2. +0 −20 README.predzil
  3. +1 −0  dist.ini
  4. +19 −0 examples/app.psgi
View
1  README.pod
View
20 README.predzil
@@ -1,20 +0,0 @@
-This is WebNano - a minimalistic PSGI based web framework.
-
-This software is copyright (c) 2010 by Zbigniew Lukasiak <zby@cpan.org>.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
-
-This project uses Dist::Zilla.
-
-Command to list used Dist::Zilla plugins:
-
-$ dzil authordeps
-
-Command to install them with App::cpanminus:
-
-$ dzil authordeps | cpanm
-
-Command to generate the CPAN package do:
-
-$ dzil build
View
1  dist.ini
@@ -14,6 +14,7 @@ Plack::Response = 0.9967
[PkgVersion]
[PruneFiles]
match = ^extensions
+match = README.pod
[MetaNoIndex]
directory = t/lib
View
19 examples/app.psgi
@@ -0,0 +1,19 @@
+ {
+ package MyApp;
+ use base 'WebNano';
+ 1;
+ }
+
+ {
+ package MyApp::Controller;
+ use base 'WebNano::Controller';
+
+ sub index_action {
+ my $self = shift;
+ return 'This is my home';
+ }
+ 1;
+ }
+
+ my $app = MyApp->new();
+ $app->psgi_callback;
Please sign in to comment.
Something went wrong with that request. Please try again.