The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Sub::Multi::Tiny::DefaultDispatcher - Default dispatcher-maker for Sub::Multi::Tiny

SYNOPSIS

    require Sub::Multi::Tiny::DefaultDispatcher;
    my $dispatcher_coderef =
        Sub::Multi::Tiny::DefaultDispatcher::MakeDispatcher({impls=>[]...});

See Sub::Multi::Tiny for more. This module does not export any symbols (or even have the capability to do so!).

FUNCTIONS

MakeDispatcher

Make the default dispatcher for the given multi. See "SYNOPSIS".

TODO expand. For now, only dispatches based on arity.

AUTHOR

Chris White <cxw@cpan.org>

LICENSE

Copyright (C) 2019 Chris White <cxw@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.