sub make_upcoming { my ($stash) = @_; $stash->{upcoming} = $schema->resultset('Event')->upcoming(now()); }