Rose::DB::Constants - Symbolic names for important Rose::DB constants.
use Rose::DB::Constants qw(IN_TRANSACTION); ... $ret = $db->begin_work or die $db->error; ... unless($ret == IN_TRANSACTION) { $db->commit or die $db->error; }
This module contains and optionally exports symbolic names for important Rose::DB constants. The only constant defined so far is IN_TRANSACTION. See the documentation for Rose::DB's begin_work() object method for more information on this constant.
Rose::DB
IN_TRANSACTION
begin_work()
This module inherits from Exporter. No symbols are exported by default.
Exporter
John C. Siracusa (siracusa@mindspring.com)
Copyright (c) 2005 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Rose::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rose::DB
CPAN shell
perl -MCPAN -e shell install Rose::DB
For more information on module installation, please visit the detailed CPAN module installation guide.