[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/linuxaux/opt/perl/lib/site_perl/5.10.0/i586-linux-thread-multi/DBD/Gofer/Policy/ -> pedantic.pm (source)

   1  package DBD::Gofer::Policy::pedantic;
   2  
   3  #   $Id: pedantic.pm 10087 2007-10-16 12:42:37Z timbo $
   4  #
   5  #   Copyright (c) 2007, Tim Bunce, Ireland
   6  #
   7  #   You may distribute under the terms of either the GNU General Public
   8  #   License or the Artistic License, as specified in the Perl README file.
   9  
  10  use strict;
  11  use warnings;
  12  
  13  our $VERSION = sprintf("0.%06d", q$Revision: 10087 $ =~ /(\d+)/o);
  14  
  15  use base qw(DBD::Gofer::Policy::Base);
  16  
  17  # the 'pedantic' policy is the same as the Base policy
  18  
  19  1;
  20  
  21  =head1 NAME
  22  
  23  DBD::Gofer::Policy::pedantic - The 'pedantic' policy for DBD::Gofer
  24  
  25  =head1 SYNOPSIS
  26  
  27    $dbh = DBI->connect("dbi:Gofer:transport=...;policy=pedantic", ...)
  28  
  29  =head1 DESCRIPTION
  30  
  31  The C<pedantic> policy tries to be as transparent as possible. To do this it
  32  makes round-trips to the server for almost every DBI method call.
  33  
  34  This is the best policy to use when first testing existing code with Gofer.
  35  Once it's working well you should consider moving to the C<classic> policy or defining your own policy class.
  36  
  37  Temporary docs: See the source code for list of policies and their defaults.
  38  
  39  In a future version the policies and their defaults will be defined in the pod and parsed out at load-time.
  40  
  41  =head1 AUTHOR
  42  
  43  Tim Bunce, L<http://www.tim.bunce.name>
  44  
  45  =head1 LICENCE AND COPYRIGHT
  46  
  47  Copyright (c) 2007, Tim Bunce, Ireland. All rights reserved.
  48  
  49  This module is free software; you can redistribute it and/or
  50  modify it under the same terms as Perl itself. See L<perlartistic>.
  51  
  52  =cut
  53  


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1