From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

DBIx::Class::Wrapper::Object - Base class for object containing business code around another DBIC object.

PROPERTIES

bm

The business model. Mandatory.

EXAMPLE

use Moose;
has 'dbuser' => ( isa => 'My::Schema::Result::User' , is => 'ro' , required => 1 , handles => qw/.*/ );
sub check_password{
my ($self , $password) = @_;
return $self->password() eq $password; # Do NOT do that :)
}
1;