File Coverage: lib/Railsish.pm

# File Coverage

File: | lib/Railsish.pm
Coverage: | 100.0%

line | stmt | bran | cond | sub | pod | time | code
--- | --- | --- | --- | --- | --- | --- | ---
1 |  |  |  |  |  |  | package Railsish;
2 |  |  |  |  |  |  | # ABSTRACT: A web application framework.
3 |
4 | 1 1 1 |  |  | 1 |  | 8 3 10 | use strict;
5 | 1 1 1 |  |  | 1 |  | 13 3 7 | use warnings;
6 |
7 | 1 1 1 |  |  | 1 |  | 77 4 21 | use HTTP::Engine::Response;
8 | 1 1 1 |  |  | 1 |  | 81 4 19 | use UNIVERSAL::require;
9 |
10 |  |  |  |  |  |  | my $app_package;
11 |
12 |  |  |  |  |  |  | sub import {
13 | 1 |  |  | 1 |  | 5 | $app_package = caller;
14 |
15 | 1 1 1 |  |  | 1 |  | 11 3 29 | no strict;
16 | 1 |  |  |  |  | 4 | for (qw(handle_request)) {
17 | 1 1 |  |  |  |  | 21 16 | *{"$app_package\::$_"} = \&$_;
18 |  |  |  |  |  |  | }
19 |  |  |  |  |  |  | }
20 |
21 |  |  |  |  |  |  | 1;
22 |
23 - 31 |  |
    =head1 DESCRIPTION

    This is a web app framework that is still very experimental.

    =head1 EXAMPLE

    At this moment, see t/SimpleApp for how to use this web framework.

    =cut
32 |