Jifty::Plugin::ActorMetadata - add created_by created_on updated_by updated_on columns to a model class
This plugin adds a model mixin which adds created_by, created_on, updated_by and updated_on columns to a model class.
created_by
created_on
updated_by
updated_on
use strict; use warnings; package YourApp::Model::Thingy; use Jifty::DBI::Schema; use YourApp::Record schema { ... }; use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; #Provides created_by, created_on, updated_by and updated_on
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.