in reply to Paging using Perl
You should look at Data::Page.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg