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


DBIx-Class-Journal documentation  | view source Contained in the DBIx-Class-Journal distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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.


DBIx-Class-Journal documentation  | view source Contained in the DBIx-Class-Journal distribution.