DBD::Informix::Configure - Determining your ESQL/C Configuration


DBD-Informix documentation  | view source Contained in the DBD-Informix distribution.

Index


NAME

Top

DBD::Informix::Configure - Determining your ESQL/C Configuration

SYNOPSIS

Top

use DBD::Informix::Configure;

DESCRIPTION

Top

This module is used by IBM Informix Database Driver for Perl DBI Version 2011.0612 (2011-06-12) in the build and bug reporting code. You will seldom if ever have cause to use this module directly.

Using find_informixdir_and_esql

The function find_informixdir_and_esql returns both the value of $INFORMIXDIR and the pathname of the ESQL/C compiler executable (a script on Unix, an executable program on Windows NT). The parameter should be true if the search is being done on Windows NT; it is false if it is being done on a Unix system.

	my ($ixd, $esql) = find_informix_dir_and_esql($nt);

Using get_esqlc_version

Given the pathname of the ESQL/C compiler, this function returns the ESQL/C version number as a string (such as 9.21.UC1) and as a pure integer (such as 921).

	my ($infversion, $vernum) = &get_esqlc_version($esqlprog);

AUTHOR

Top

Jonathan Leffler


DBD-Informix documentation  | view source Contained in the DBD-Informix distribution.