- or download this
sub openDB {
my $return;
# Input argument: [string(DB Server hostname), String(Database name
+to open)]
...
return 0;
}
}
- or download this
sub openDATASOURCE{
print DEBUGFILE "Entering sub openDATASOURCE\n" if ($DEBUG);
my $socketInfo=$ipPort{$socketName};
...
open (DATASOURCE, "<$namedPipe") or die "Couldn't open $namedPipe:
+ $!\n";
}
}
- or download this
sub doSQL {
print DEBUGFILE "Entering sub doSQL\n" if ($DEBUG);
my (@localArray, $sqlStatement, $size)=();
...
}
print DEBUGFILE "$sqlStatement\n" if $DEBUG;
}