1CPAN::Common::Index::MuUxs:e:rOrCdoenrterdi(b3u)ted PerlCPDAoNc:u:mCeonmtmaotni:o:nIndex::Mux::Ordered(3)
2
3
4

NAME

6       CPAN::Common::Index::Mux::Ordered - Consult indices in order and return
7       the first result
8

VERSION

10       version 0.010
11

SYNOPSIS

13           use CPAN::Common::Index::Mux::Ordered;
14           use Data::Dumper;
15
16           $index = CPAN::Common::Index::Mux::Ordered->assemble(
17               MetaDB => {},
18               Mirror => { mirror => "http://cpan.cpantesters.org" },
19           );
20

DESCRIPTION

22       This module multiplexes multiple CPAN::Common::Index objects, returning
23       results in order.
24
25       For exact match queries, the first result is returned. For search
26       queries, results from each index object are concatenated.
27

ATTRIBUTES

29   resolvers
30           An array reference of CPAN::Common::Index::* objects
31

METHODS

33   assemble
34           $index = CPAN::Common::Index::Mux::Ordered->assemble(
35               MetaDB => {},
36               Mirror => { mirror => "http://www.cpan.org" },
37           );
38
39       This class method provides a shorthand for constructing a multiplexer.
40       The arguments must be pairs of subclass suffixes and arguments.  For
41       example, "MetaDB" means to use "CPAN::Common::Index::MetaDB".  Empty
42       arguments must be given as an empty hash reference.
43

AUTHOR

45       David Golden <dagolden@cpan.org>
46
48       This software is Copyright (c) 2013 by David Golden.
49
50       This is free software, licensed under:
51
52         The Apache License, Version 2.0, January 2004
53
54
55
56perl v5.34.0                      2021-07-2C2PAN::Common::Index::Mux::Ordered(3)
Impressum