IO/mysqlLib.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # $Id$
3 #
4  
5 package DBIx::IO::mysqlLib;
6  
7 BEGIN
8 {
9 use Exporter ();
10  
11 @ISA = qw(Exporter);
12  
13 @EXPORT = qw(
14 $NORMAL_DATETIME_FORMAT
15 $NORMAL_DATE_FORMAT
16 $NORMAL_TIME_FORMAT
17 $NORMAL_YEAR_FORMAT
18 );
19  
20 %EXPORT_TAGS =
21 (
22 actions =>
23 [qw(
24 )],
25 );
26  
27 Exporter::export_ok_tags qw(
28 actions
29 );
30 }
31  
32 use strict;
33  
34 # CONSTANTS
35  
36 # CAUTION If this constant is changed, normalize_date and local_normal_sysdate must be changed accordingly
37 *DBIx::IO::mysqlLib::NORMAL_DATETIME_FORMAT = \'%Y%m%d%H%i%S';
38 *DBIx::IO::mysqlLib::NORMAL_DATE_FORMAT = \'%Y%m%d';
39 *DBIx::IO::mysqlLib::NORMAL_TIME_FORMAT = \'%H%i%S';
40 *DBIx::IO::mysqlLib::NORMAL_YEAR_FORMAT = \'%Y';
41  
42 =head1 NAME
43  
44 DBIx::IO::mysqlLib - General helper functions and constants to support the DBIx::IO MySQL driver
45  
46 =head1 SYNOPSIS
47  
48
49 use DBIx::IO::mysqlLib;
50 use DBIx::IO::mysqlLib (); # Don't import default symbols
51 use DBIx::IO::mysqlLib qw(:tag symbol...) # Import selected symbols
52  
53  
54 =head1 DESCRIPTION
55  
56 MySQL specific constants and helper functions.
57  
58 Table names by default are case-sensitive on Linux/UNIX OS's;
59 do yourself a favor and set lower_case_table_names=1 in /etc/my.cnf
60 and always use lower case names for tables.
61  
62 =cut
63  
64 1;
65  
66 __END__