use strict; use Test::More tests => 10; use HTML::Split; my $html = <
Splitting HTML text by number of characters.
HTML my $pager = HTML::Split->new( html => $html, length => 50, ); isa_ok $pager, 'HTML::Split'; is $pager->total_pages, 2; is $pager->current_page, 1; is $pager->next_page, 2; is $pager->prev_page, undef; is $pager->text . "\n", <Splittin
HTML $pager->current_page(2); is $pager->current_page, 2; is $pager->next_page, undef; is $pager->prev_page, 1; is $pager->text, <g HTML text by number of characters.
HTML