DOKK / manpages / debian 10 / libkiokudb-perl / KiokuDB::TypeMap::Entry::Alias.3pm.en
KiokuDB::TypeMap::Entry::Alias(3pm) User Contributed Perl Documentation KiokuDB::TypeMap::Entry::Alias(3pm)

KiokuDB::TypeMap::Entry::Alias - An alias in the typemap to another entry

version 0.57

    my $typemap = KiokuDB::TypeMap->new(
        entries => {
            'Some::Class' => KiokuDB::TypeMap::Entry::Alias->new(
                to => "Some::Other::Class",
            ),
            'Some::Other::Class' => ...,
        },
    );

This pseudo-entry directs the typemap resolution to re-resolve with the key in the "to" field.

Yuval Kogman <nothingmuch@woobling.org>

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

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

2014-03-25 perl v5.18.2