NAME

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

SYNOPSIS

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

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

This dispatcher currently only dispatches by arity.

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.