line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CGI::Test::Page::Text; |
2
|
8
|
|
|
8
|
|
52
|
use strict; |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
366
|
|
3
|
8
|
|
|
8
|
|
34
|
use warnings; |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
352
|
|
4
|
|
|
|
|
|
|
#################################################################### |
5
|
|
|
|
|
|
|
# $Id: Text.pm 411 2011-09-26 11:19:30Z nohuhu@nohuhu.org $ |
6
|
|
|
|
|
|
|
# $Name: cgi-test_0-104_t1 $ |
7
|
|
|
|
|
|
|
#################################################################### |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# Copyright (c) 2001, Raphael Manfredi |
10
|
|
|
|
|
|
|
# |
11
|
|
|
|
|
|
|
# You may redistribute only under the terms of the Artistic License, |
12
|
|
|
|
|
|
|
# as specified in the README file that comes with the distribution. |
13
|
|
|
|
|
|
|
# |
14
|
|
|
|
|
|
|
|
15
|
8
|
|
|
8
|
|
1492
|
use CGI::Test::Page::Real; |
|
8
|
|
|
|
|
96
|
|
|
8
|
|
|
|
|
274
|
|
16
|
8
|
|
|
8
|
|
44
|
use base qw(CGI::Test::Page::Real); |
|
8
|
|
|
|
|
18
|
|
|
8
|
|
|
|
|
1204
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
# ->new |
20
|
|
|
|
|
|
|
# |
21
|
|
|
|
|
|
|
# Creation routine |
22
|
|
|
|
|
|
|
# |
23
|
|
|
|
|
|
|
sub new |
24
|
|
|
|
|
|
|
{ |
25
|
12
|
|
|
12
|
0
|
46
|
my $this = bless {}, shift; |
26
|
12
|
|
|
|
|
111
|
$this->_init(@_); |
27
|
12
|
|
|
|
|
35
|
return $this; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# |
31
|
|
|
|
|
|
|
# Attribute access |
32
|
|
|
|
|
|
|
# |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
CGI::Test::Page::Text - A text page reply |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SYNOPSIS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
# Inherits from CGI::Test::Page::Real |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This class represents an HTTP reply containing C data. |
47
|
|
|
|
|
|
|
Its interface is the same as the one described in L. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHORS |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
The original author is Raphael Manfredi. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Steven Hilton was long time maintainer of this module. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Current maintainer is Alexander Tokarev Ftokarev@cpan.orgE>. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SEE ALSO |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
CGI::Test::Page::Real(3). |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|