Class::DBI::Pager

You probably will want to read the discussion on Class::DBI pagers.