Hi,
I need to access to Oracle81 database from ipl perl script. The script is the follow:
****************************************************
use DBI;
use strict;
$ENV{ORACLE_HOME} = "d:\oracle\ora81";
$ENV{ORACLE_SID} = "GV";
$conn = DBI->connect ( 'dbi

racle:host=192.168.197.17;sid=GV', 'Q66B', 'Q66B');
$stm = $conn->prepare("select XML_002 from Q6602T00");
$stm->execute();
while(
@data = $stm->fetchrow_array() ) {
push(
@reg,$data[0]);
}
$stm->finish();
$conn->disconnect();
****************************************************
Config: TeamSite 6.0 and Windows 2000
I get the follow error message:
Global symbol "$conn" requires explicit package name at \iw-home\opendeploy\solutions\perl\mailing-eraikal.ipl line 74.
Global symbol "$stm" requires explicit package name at \iw-home\opendeploy\solutions\perl\mailing-eraikal.ipl line 75.
Global symbol "
@data" requires explicit package name at \iw-home\opendeploy\solutions\perl\mailing-eraikal.ipl line 77.
Global symbol "
@reg" requires explicit package name at \iw-home\opendeploy\solutions\perl\mailing-eraikal.ipl line 79.
Could anyone help me. Any idea?
Regards