Data::ModeMerge::Mode::Base - Base class for Data::ModeMerge mode handler
This document describes version 0.360 of Data::ModeMerge::Mode::Base (from Perl distribution Data-ModeMerge), released on 2021-08-15.
use Data::ModeMerge;
This is the base class for mode type handlers.
Return name of mode. Subclass must override this method.
Return precedence level, which is a number. The greater the number, the higher the precedence. Subclass must override this method.
Return default prefix. Subclass must override this method.
Return default prefix regex. Subclass must override this method.
Return true if hash key has prefix for this mode.
Return hash key with added prefix of this mode.
Return hash key with prefix of this mode prefix removed.
Please visit the project's homepage at https://metacpan.org/release/Data-ModeMerge.
Source repository is at https://github.com/perlancar/perl-Data-ModeMerge.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Data-ModeMerge
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2021, 2016, 2015, 2013, 2012, 2011, 2010 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::ModeMerge, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::ModeMerge
CPAN shell
perl -MCPAN -e shell install Data::ModeMerge
For more information on module installation, please visit the detailed CPAN module installation guide.