% my $dir = stash('dir'); my $commit_author_email = $commit->{author_email}; my $commit_author_id = app->dbi->model('user')->select( 'id', where => {email => $commit_author_email} )->value; %>