I would generally not recommend this module for paging your data. It embeds HTML in which restricts your options when presenting the paging interface. This distribution includes no substantial tests to confirm it's working. 'use strict' is not used with the code. It really doesn't do anything with SQL either, as the name suggests. It just returns "LIMIT" and "OFFSET" values, which could be used in non-SQL applications welll.
Instead, I recommend the more flexible Data::Page and Data::Pageset modules. I use them to page SQL data in HTML, but they would work fine in other cases as well.