DBD::Gofer::Transport::null(3) User Contributed Perl Documentation DBD::Gofer::Transport::null(3)NAME
DBD::Gofer::Transport::null - DBD::Gofer client transport for testing
SYNOPSIS
my $original_dsn = "..."
DBI->connect("dbi:Gofer:transport=null;dsn=$original_dsn",...)
or, enable by setting the DBI_AUTOPROXY environment variable:
export DBI_AUTOPROXY="dbi:Gofer:transport=null"
DESCRIPTION
Connect via DBD::Gofer but execute the requests within the same process.
This is a quick and simple way to test applications for compatibility with the (few) restrictions that DBD::Gofer imposes.
It also provides a simple, portable way for the DBI test suite to be used to test DBD::Gofer on all platforms with no setup.
Also, by measuring the difference in performance between normal connections and connections via "dbi:Gofer:transport=null" the basic cost
of using DBD::Gofer can be measured. Furthermore, the additional cost of more advanced transports can be isolated by comparing their
performance with the null transport.
The "t/85gofer.t" script in the DBI distribution includes a comparative benchmark.
AUTHOR
Tim Bunce, <http://www.tim.bunce.name>
LICENCE AND COPYRIGHT
Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
SEE ALSO
DBD::Gofer::Transport::Base
DBD::Gofer
perl v5.16.2 2007-10-16 DBD::Gofer::Transport::null(3)
Check Out this Related Man Page
DBD::Gofer::Transport::null(3) User Contributed Perl Documentation DBD::Gofer::Transport::null(3)NAME
DBD::Gofer::Transport::null - DBD::Gofer client transport for testing
SYNOPSIS
my $original_dsn = "..."
DBI->connect("dbi:Gofer:transport=null;dsn=$original_dsn",...)
or, enable by setting the DBI_AUTOPROXY environment variable:
export DBI_AUTOPROXY="dbi:Gofer:transport=null"
DESCRIPTION
Connect via DBD::Gofer but execute the requests within the same process.
This is a quick and simple way to test applications for compatibility with the (few) restrictions that DBD::Gofer imposes.
It also provides a simple, portable way for the DBI test suite to be used to test DBD::Gofer on all platforms with no setup.
Also, by measuring the difference in performance between normal connections and connections via "dbi:Gofer:transport=null" the basic cost
of using DBD::Gofer can be measured. Furthermore, the additional cost of more advanced transports can be isolated by comparing their
performance with the null transport.
The "t/85gofer.t" script in the DBI distribution includes a comparative benchmark.
AUTHOR
Tim Bunce, <http://www.tim.bunce.name>
LICENCE AND COPYRIGHT
Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
SEE ALSO
DBD::Gofer::Transport::Base
DBD::Gofer
perl v5.18.2 2013-06-24 DBD::Gofer::Transport::null(3)
Hi,
Somebody has told me that NCurses can be used to test vi. But i was unable to figure out how. If anybody has done anything with NCurses please reply.
Also is there any othre way by which we can test vi automatically? (2 Replies)
I am trying to install perl-DBD-Oracle-1.16-1.2.rpm on Suse (SLE 9), like
rpm -Uvh perl-DBD-Oracle-1.16-1.2.rpm but I keep getting the following error message
error: Failed dependencies:
libclntsh.so.10.1 is needed by perl-DBD-Oracle-1.16-1.2.el4
libnnz10.so is needed by... (1 Reply)
Hello everyone,
I' m currently working on an open source project and I'm looking for people willing to test the software on various platforms so that we'll be able to publish a compatibility list.
The project is called CorneliOS, it's a webOS and web application framework, and it has been... (0 Replies)
Hi, i have some queries on installing the Perl DBI and the DBD Oracle.
I know that i have to install the DBI first. I have the source files in a folder in my home directory.The commands to install arecd /home/DBI
Perl Makefile.PL
make
make installI would like to know, after executing these... (4 Replies)
Hi,
I have the following shell script :
Nbr_BD_Link=0
Nbr_BD_Link=`
sqlplus sysadm/${PSWD}@${DB_Name} << EOF | tail -4 | head -1 2>/dev/null
set head off feedback off ;
select count(*) from dba_db_links ;
exit ;
EOF `
echo ${Nbr_BD_Link}
if ; then
... (4 Replies)
I've already installed the DBI Perl Module with no issues and now I'm attempting to install the DBD::Oracle driver on a Red Hat Enterprise 4 server and am having some trouble. I've checked through the forums and haven't seen anything helpful at this point. Everything goes fine during the perl... (1 Reply)
Hi All,
I have a customer asking me to install these perl modules on redhat 4 ent:
File::Temp
Getopt::Long
DBD::mysql
Mail::Mailer
DBD::DB2
Any idea how can I install those modules.
Thanks for any comment you may add. (3 Replies)
Hello friends,
I'm working on a Thesis and right now I'm in a phase of comparing a Linux vs Windows performance in similar situations on the same machine.
I'm asking here because I would like help on this, since I've always worked in Linux as an Administrator and a user, never as a... (6 Replies)
Hi,
Without using DBI/DBD, i need to run the given below script in PERL in different oracle databases in a single server.
PERL Script:
#!usr/bin/perl -w
$c=`ps -ef |grep -v grep|grep pmon|sed -e 's/.*_//|sort -u >dbname.log`;
$cnt=`ps -ef |grep -v grep|grep pmon|sed -e... (6 Replies)
Hi Guys,
I am trying to install DBI and DBD-MYSQL for strawberry perl.
But i am not able to install.
:wall:
DBD-MYSQL
>> makefile.pl
gives error as
'Access denied for user 'ODBC'@'localhost' (using password: NO)'. (7 Replies)
I am installing Oracle DBD to PERL 5.16.3 and during make test , I am running into this error :rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/opt/oracle/product/11.2.0/racdb11204/lib" gcc -m32 -shared -O2 -L/usr/local/lib -fstack-protector Oracle.o dbdimp.o oci8.o -o... (3 Replies)