line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Labyrinth::Query::PSGI; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
5280
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
60
|
|
4
|
2
|
|
|
2
|
|
8
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
85
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.02'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
Labyrinth::Query::PSGI - Environment Handler via PSGI for Labyrinth. |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
use Labyrinth::Query::PSGI; |
15
|
|
|
|
|
|
|
my $cgi = Labyrinth::Query::PSGI->new(); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
$cgi->Vars(); |
18
|
|
|
|
|
|
|
$cgi->cookie(); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
A very thin wrapper around CGI::PSGI |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# ------------------------------------- |
27
|
|
|
|
|
|
|
# Library Modules |
28
|
|
|
|
|
|
|
|
29
|
2
|
|
|
2
|
|
7
|
use base qw(CGI::PSGI); |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
1047
|
|
30
|
2
|
|
|
2
|
|
27585
|
use CGI::Cookie; |
|
2
|
|
|
|
|
3286
|
|
|
2
|
|
|
|
|
52
|
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# ------------------------------------- |
33
|
|
|
|
|
|
|
# The Subs |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 METHODS |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
All methods are as per CGI::PSGI. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |