GX/HTTP/Constants.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GX/HTTP/Body.pm ↑ Summary GX/HTTP/Cookie.pm »
1 # ----------------------------------------------------------------------------------------------------------------------
2 # GX Framework (c) 2009-2011 Jörg A. Uzarek <uzarek@runlevelnull.de>
3 # File: GX/HTTP/Constants.pm
4 # ----------------------------------------------------------------------------------------------------------------------
5  
6 package GX::HTTP::Constants;
7  
8 42 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 42 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 # ----------------------------------------------------------------------------------------------------------------------
13 # Export mechanism
14 # ----------------------------------------------------------------------------------------------------------------------
15  
16 42 require Exporter;
17  
18 42 our @ISA = qw( Exporter );
19  
20 42 our @EXPORT_OK = qw(
21 CRLF
22 CRLFCRLF
23 CRLFSP
24 REGEX_CRLF
25 );
26  
27  
28 # ----------------------------------------------------------------------------------------------------------------------
29 # Constants
30 # ----------------------------------------------------------------------------------------------------------------------
31  
32 42 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
33 42 CRLF => "\015\012",
34 CRLFCRLF => "\015\012\015\012",
35 CRLFSP => "\015\012\040",
36 REGEX_CRLF => qr/\015\012/
37 42 };
38  
39  
40 42 1;
41  
42 __END__
« GX/HTTP/Body.pm ↑ Summary GX/HTTP/Cookie.pm »