Constants.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« AddressCodes.pm ↑ Summary
1 # BW::Constants.pm
2 # Commonly used constants for BW::* modules
3 #
4 # by Bill Weinman - http://bw.org/
5 # Copyright (c) 1995-2010 The BearHeart Group, LLC
6 #
7 # See POD for History
8  
9 package BW::Constants;
10  
11 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 TRUE => 1,
18 SUCCESS => 1,
19 FALSE => '',
20 FAILURE => '',
21 EMPTY => '',
22 CR => "\x0d",
23 LF => "\x0a",
24 CRLF => "\x0d\x0a",
25 VOID => undef
26 1 };
27  
28 1 our @EXPORT = qw ( TRUE SUCCESS FALSE FAILURE EMPTY CR LF CRLF VOID );
29 1 our $VERSION = "1.2";
30  
31 1 1;
32  
33 __END__
« AddressCodes.pm ↑ Summary