SVK::Editor::TxnCleanup.3pm

Langue: en

Version: 2006-12-28 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

SVK::Editor::TxnCleanup - An editor that aborts a txn when it is aborted

SYNOPSIS

  my $editor = ...
  # stack the txn cleanup editor on
  $editor = SVK::Editor::TxnCleanup-> (_editor => [$editor], txn => $txn );
  # ... do some stuff ...
  $editor->abort_edit;
  # $txn->abort gets called.