1DBD::Gofer::Transport::Unsuelrl(C3o)ntributed Perl DocumDeBnDt:a:tGioofner::Transport::null(3)
2
3
4

NAME

6       DBD::Gofer::Transport::null - DBD::Gofer client transport for testing
7

SYNOPSIS

9         my $original_dsn = "..."
10         DBI->connect("dbi:Gofer:transport=null;dsn=$original_dsn",...)
11
12       or, enable by setting the DBI_AUTOPROXY environment variable:
13
14         export DBI_AUTOPROXY="dbi:Gofer:transport=null"
15

DESCRIPTION

17       Connect via DBD::Gofer but execute the requests within the same
18       process.
19
20       This is a quick and simple way to test applications for compatibility
21       with the (few) restrictions that DBD::Gofer imposes.
22
23       It also provides a simple, portable way for the DBI test suite to be
24       used to test DBD::Gofer on all platforms with no setup.
25
26       Also, by measuring the difference in performance between normal
27       connections and connections via "dbi:Gofer:transport=null" the basic
28       cost of using DBD::Gofer can be measured. Furthermore, the additional
29       cost of more advanced transports can be isolated by comparing their
30       performance with the null transport.
31
32       The "t/85gofer.t" script in the DBI distribution includes a comparative
33       benchmark.
34

AUTHOR

36       Tim Bunce, <http://www.tim.bunce.name>
37
39       Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.
40
41       This module is free software; you can redistribute it and/or modify it
42       under the same terms as Perl itself. See perlartistic.
43

SEE ALSO

45       DBD::Gofer::Transport::Base
46
47       DBD::Gofer
48
49
50
51perl v5.28.0                      2013-06-24    DBD::Gofer::Transport::null(3)
Impressum