KiokuD...e::Scan(3pm)
πΈ NAME πΈ
okay bestie, you're reading KiokuDB::Role::Scan(3pm) from the User Contributed Perl Documentation collection. This page is about KiokuDB::Role::Scan β literally a role for entry scanning. π
π VERSION π
This is version 0.57, no cap. β¨
π¦ SYNOPSIS π¦
Here's the group-chat screenshot of how you'd use it:
package My::Entry::Processor;
use Moose;
with 'KiokuDB::Role::Scan' => { result_class => "My::Entry::Processor::Results" };
sub process_block {
my ( $self, %args ) = @_;
$args{results}; # intermediate results
foreach my $entry ( @{ $args{block} } ) {
}
}
my $scan = My::Entry::Processor->new(
backend => $some_backend,
);
my $res = $scan->results;
$res->foo;
$scan->foo; # delegates to result
π« DESCRIPTION π«
So this role is used by classes like KiokuDB::LinkChecker to scan the whole database and computing summary results. It's giving main-character energy for database-wide scanning. π«Ά
π ROLE PARAMETERS π
result_classβ the class of the results. It gets used when creating the results initially by callingnew, and it also sets up an attribute with delegations. π
π AUTHOR π
The author is an absolute icon: Yuval Kogman <nothingmuch@woobling.org> π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
okay bestie, that's the whole page π it came from perl v5.34.0, dated 2022-05-23, and the footer title was literally KiokuD...e::Scan(3pm) β iconic, periodt. β¨
π¦ where this page comes from
- debian bookworm: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libkiokudb-perl 0.57-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms