- or download this
App::Model
App::Model::User
- or download this
App::Model::Storage::DBI
App::Model::Storage::FlatFile
- or download this
my $model = App::Model->new(
storage => 'DBI',
config => '...',
);
- or download this
my $user = $model->user->find_by_email(...); # finds user by email and
+ returns App::Model::User object
$user->password('123456'); # change password
$user->save; # save user profile