Rose::...nstants(3pm)

πŸ’– NAME πŸ’–

Rose::DB::Constants β€” the symbolic names for the important Rose::DB constants, bestie ✨


🌸 SYNOPSIS 🌸

okay so this is literally the whole vibe:

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;
}

no cap, that's it πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So this module holds the symbolic names for the important Rose::DB constants, and it optionally exports them if you ask nicely πŸ₯Ί

The only constant defined so far is IN_TRANSACTION β€” she's the main character, the solo icon, the entire cast rn πŸ‘‘

Wanna know what IN_TRANSACTION actually means? Go read the docs for Rose::DB's begin_work() object method, that's where the lore lives fr fr πŸ“–

Also: this module inherits from Exporter. And no symbols are exported by default, so if you want IN_TRANSACTION you gotta ask for it yourself, she does not show up uninvited πŸ™ˆ


🫢 AUTHOR 🫢

John C. Siracusa (siracusa@gmail.com) β€” thank you for your service king πŸ«‘πŸ’œ


πŸ‘‘ LICENSE πŸ‘‘

Copyright (c) 2010 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.


and that's the whole page, babe 🌈✨ this was perl v5.40.1, dated 2026-07-31, and it's giving Rose::DB::Constants(3pm) β€” slay, bye πŸ’…πŸŽ€

πŸ“¦ where this page comes from