1Rose::DB::Constants(3)User Contributed Perl DocumentationRose::DB::Constants(3)
2
3
4

NAME

6       Rose::DB::Constants - Symbolic names for important Rose::DB constants.
7

SYNOPSIS

9         use Rose::DB::Constants qw(IN_TRANSACTION);
10         ...
11
12         $ret = $db->begin_work or die $db->error;
13         ...
14         unless($ret == IN_TRANSACTION)
15         {
16           $db->commit or die $db->error;
17         }
18

DESCRIPTION

20       This module contains and optionally exports symbolic names for
21       important Rose::DB constants.  The only constant defined so far is
22       "IN_TRANSACTION".  See the documentation for Rose::DB's "begin_work()"
23       object method for more information on this constant.
24
25       This module inherits from "Exporter".  No symbols are exported by
26       default.
27

AUTHOR

29       John C. Siracusa (siracusa@gmail.com)
30

LICENSE

32       Copyright (c) 2010 by John C. Siracusa.  All rights reserved.  This
33       program is free software; you can redistribute it and/or modify it
34       under the same terms as Perl itself.
35
36
37
38perl v5.30.0                      2019-08-09            Rose::DB::Constants(3)
Impressum