Arthur Axel "fREW" Schmidt > DBIx-Class-Journal-0.900201 > DBIx::Class::Journal::EvalWrap

Download:
DBIx-Class-Journal-0.900201.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

DBIx::Class::Journal::EvalWrap - Wrap all journal ops with an eval { }

SYNOPSIS ^

    __PACKAGE__->journal_component("Journal::EvalWrap");

DESCRIPTION ^

This component is a wrapper for the row methods in DBIx:Class::Journal that aides in retrofitting a schema for journaling, by wrapping all the journal CRUD operations with a local $@; eval { ... }}.

This is desirable if you'd rather lose journal data than create runtime errors when retrofitting existing code.

Use with caution.

syntax highlighting: