יובל קוג'מן (Yuval Kogman) > KiokuDB-Cmd > KiokuDB::Cmd::SpecifiedEntries

Download:
KiokuDB-Cmd-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

KiokuDB::Cmd::SpecifiedEntries - A role for command line tools which accept entry IDs as options

SYNOPSIS ^

    with qw(KiokuDB::Cmd::SpecifiedEntries)

    augment run => sub {
        ...

        my $data_bulk_stream = $self->entries;
    };

DESCRIPTION ^

This role provides KiokuDB::Entry enumeration for command line tools.

If the ids option is specified (it can be given multiple times) then only those IDs will be loaded into the entries attribute, otherwise all_entries is called on the backend.

syntax highlighting: