[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/linuxaux/opt/perl/lib/site_perl/5.10.0/i586-linux-thread-multi/DBI/Const/ -> GetInfoType.pm (source)

   1  # $Id: GetInfoType.pm 8696 2007-01-24 23:12:38Z timbo $
   2  #
   3  # Copyright (c) 2002  Tim Bunce  Ireland
   4  #
   5  # Constant data describing info type codes for the DBI getinfo function.
   6  #
   7  # You may distribute under the terms of either the GNU General Public
   8  # License or the Artistic License, as specified in the Perl README file.
   9  
  10  package DBI::Const::GetInfoType;
  11  
  12  use strict;
  13  
  14  use Exporter ();
  15  
  16  use vars qw(@ISA @EXPORT @EXPORT_OK %GetInfoType);
  17  
  18  @ISA = qw(Exporter);
  19  @EXPORT = qw(%GetInfoType);
  20  
  21  my
  22  $VERSION = sprintf("2.%06d", q$Revision: 8696 $ =~ /(\d+)/o);
  23  
  24  
  25  =head1 NAME
  26  
  27  DBI::Const::GetInfoType - Data describing GetInfo type codes
  28  
  29  =head1 SYNOPSIS
  30  
  31    use DBI::Const::GetInfoType;
  32  
  33  =head1 DESCRIPTION
  34  
  35  Imports a %GetInfoType hash which maps names for GetInfo Type Codes
  36  into their corresponding numeric values. For example:
  37  
  38    $database_version = $dbh->get_info( $GetInfoType{SQL_DBMS_VER} );
  39  
  40  The interface to this module is new and nothing beyond what is
  41  written here is guaranteed.
  42  
  43  =cut
  44  
  45  use DBI::Const::GetInfo::ANSI ();    # liable to change
  46  use DBI::Const::GetInfo::ODBC ();    # liable to change
  47  
  48  %GetInfoType =
  49  (
  50    %DBI::Const::GetInfo::ANSI::InfoTypes    # liable to change
  51  , %DBI::Const::GetInfo::ODBC::InfoTypes    # liable to change
  52  );
  53  
  54  1;


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1