KiokuD...e::Scan(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

🌸 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 calling new, and it also sets up an attribute with delegations. πŸ’…

🌈 AUTHOR 🌈

The author is an absolute icon: Yuval Kogman <nothingmuch@woobling.org> πŸ’–


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