<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package # hide from pause
  DBIx::Class::ResultSet::Pager;

use warnings;
use strict;

use base 'Data::Page';
use mro 'c3';

# simple support for lazy totals
sub _total_entries_accessor {
  if (@_ == 1 and ref $_[0]-&gt;{total_entries} eq 'CODE') {
    return $_[0]-&gt;{total_entries} = $_[0]-&gt;{total_entries}-&gt;();
  }

  return shift-&gt;next::method(@_);
}

sub _skip_namespace_frames { qr/^Data::Page/ }

1;
</pre></body></html>