| 1 | # | ||
| 2 | # $Id: OracleLib.pm,v 1.1 2002/05/24 10:36:30 rsandberg Exp $ | ||
| 3 | # | ||
| 4 | |||
| 5 | package DBIx::IO::OracleLib; | ||
| 6 | |||
| 7 | BEGIN | ||
| 8 | { | ||
| 9 | use Exporter (); | ||
| 10 | |||
| 11 | @ISA = qw(Exporter); | ||
| 12 | |||
| 13 | @EXPORT = qw( | ||
| 14 | $NORMAL_DATETIME_FORMAT | ||
| 15 | $ROWID_COL_NAME | ||
| 16 | ); | ||
| 17 | |||
| 18 | %EXPORT_TAGS = | ||
| 19 | ( | ||
| 20 | actions => | ||
| 21 | [qw( | ||
| 22 | )], | ||
| 23 | ); | ||
| 24 | |||
| 25 | Exporter::export_ok_tags qw( | ||
| 26 | actions | ||
| 27 | ); | ||
| 28 | } | ||
| 29 | |||
| 30 | use strict; | ||
| 31 | |||
| 32 | # CONSTANTS | ||
| 33 | |||
| 34 | # CAUTION If this constant is changed, normalize_date and local_normal_sysdate must be changed accordingly | ||
| 35 | *DBIx::IO::OracleLib::NORMAL_DATETIME_FORMAT = \'YYYYMMDDHH24MISS'; | ||
| 36 | |||
| 37 | # Pseudo columns | ||
| 38 | *DBIx::IO::OracleLib::ROWID_COL_NAME = \'ROWID'; | ||
| 39 | |||
| 40 | =head1 NAME | ||
| 41 | |||
| 42 | DBIx::IO::OracleLib - General helper functions and constants to support the DBIx::IO Oracle driver | ||
| 43 | |||
| 44 | =head1 SYNOPSIS | ||
| 45 | |||
| 46 | |||
| 47 | use DBIx::IO::OracleLib; | ||
| 48 | use DBIx::IO::OracleLib (); # Don't import default symbols | ||
| 49 | use DBIx::IO::OracleLib qw(:tag symbol...) # Import selected symbols | ||
| 50 | |||
| 51 | |||
| 52 | =head1 DESCRIPTION | ||
| 53 | |||
| 54 | Oracle specific constants and helper functions. | ||
| 55 | |||
| 56 | =cut | ||
| 57 | |||
| 58 | 1; | ||
| 59 | |||
| 60 | __END__ |