DBIx-Skinny-Pager
view release on metacpan or search on metacpan
---
abstract: ~
author:
- 'Keiji Yoshimi <walf443 at gmail dot com>'
build_requires:
ExtUtils::MakeMaker: 6.42
Module::Install::ReadmeFromPod: 0
Module::Install::Repository: 0
Test::Deep: 0
Test::Differences: 0
Test::More: 0
Test::Requires: 0
Test::UseAllModules: 0
configure_requires:
ExtUtils::MakeMaker: 6.42
distribution_type: module
generated_by: 'Module::Install version 1.01'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Makefile.PL view on Meta::CPAN
author_tests 'xt';
requires 'DBIx::Skinny', 0.0729;
requires 'Data::Page';
requires 'Carp';
requires 'Class::Accessor::Lite';
test_requires 'Test::More';
test_requires 'Test::UseAllModules';
test_requires 'Test::Deep';
test_requires 'Test::Differences';
test_requires 'Test::Requires';
build_requires 'Module::Install::ReadmeFromPod';
build_requires 'Module::Install::Repository';
auto_set_repository;
WriteAll;
t/Page/to_hash.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use Test::Differences;
use DBIx::Skinny::Pager::Page;
my $pager = DBIx::Skinny::Pager::Page->new(70, 20, 2);
eq_or_diff($pager->to_hash, +{
total_entries => 70,
current_page => 2,
entries_per_page => 20,
previous_page => 1,
next_page => 3,
( run in 2.039 seconds using v1.01-cache-2.11-cpan-6aa56a78535 )