File: README

package info (click to toggle)
libexception-class-dbi-perl 1.00-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 116 kB
  • ctags: 32
  • sloc: perl: 345; makefile: 2
file content (49 lines) | stat: -rw-r--r-- 1,612 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Exception/Class/DBI version 1.00
================================

This module offers a set of DBI-specific exception classes. They inherit from
Exception::Class::Base, the base class for all exception objects created by
the Exception::Class module from the CPAN. Exception::Class::DBI itself offers
a single class method, C<handler()>, that returns a code reference appropriate
for passing the DBI C<HandleError> attribute.

The exception classes created by Exception::Class::DBI are designed to be
thrown in certain DBI contexts; the code reference returned by handler() and
passed to the DBI C<HandleError> attribute determines the context, assembles
the necessary metadata, and throws the apopropriate exception.

Each of the Exception::Class::DBI classes offers a set of object accessor
methods in addition to those provided by Exception::Class::Base. These can be
used to output detailed output in the event of an exception.

INSTALLATION

To install this module, type the following:

   perl Build.PL
   ./Build
   ./Build test
   ./Build install

Or, if you don't have Module::Build installed, type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

  DBI 1.28 or later (1.30 or later strongly recommended).
  Exception::Class 1.02 or later (1.05 or later strongly recommended).
  Test::Simple 0.40 (for testing).

COPYRIGHT AND LICENCE

Copyright (c) 2002-2008, David Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.