use strict; use Test::Base tests => 1; use HTML::Split; filters { input => [ qw( chomp ) ], expected => [ qw( lines chomp array ) ], }; sub paginate { my $len = filter_arguments; return [ HTML::Split->split(html => $_, length => $len) ]; } run_compare; __END__ === Endless loop (bugzid:60519) --- input paginate=15