SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Fedora 28 perl-CPAN-Common-Index-0.010-3.fc28.noarch.rpm

CPAN::Common::Index::Mux::Ordered

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-26
Index 

NAME

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

VERSION

version 0.010 

SYNOPSIS

    use CPAN::Common::Index::Mux::Ordered;    use Data::Dumper;    $index = CPAN::Common::Index::Mux::Ordered->assemble(        MetaDB => {},        Mirror => { mirror => "http://cpan.cpantesters.org" },    );
 

DESCRIPTION

This module multiplexes multiple CPAN::Common::Index objects, returningresults in order.

For exact match queries, the first result is returned. For search queries,results from each index object are concatenated. 

ATTRIBUTES

 

resolvers

    An array reference of CPAN::Common::Index::* objects
 

METHODS

 

assemble

    $index = CPAN::Common::Index::Mux::Ordered->assemble(        MetaDB => {},        Mirror => { mirror => "http://www.cpan.org" },    );

This class method provides a shorthand for constructing a multiplexer.The arguments must be pairs of subclass suffixes and arguments. Forexample, ``MetaDB'' means to use ``CPAN::Common::Index::MetaDB''. Emptyarguments must be given as an empty hash reference. 

AUTHOR

David Golden <dagoldenAATTcpan.org> 

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004


 

Index

NAME
VERSION
SYNOPSIS
DESCRIPTION
ATTRIBUTES
resolvers
METHODS
assemble
AUTHOR
COPYRIGHT AND LICENSE

This document was created byman2html,using the manual pages.