![]() |
![]()
| ![]() |
![]()
NAMEData::ModeMerge::Mode::Base - Base class for Data::ModeMerge mode handler VERSIONThis document describes version 0.360 of Data::ModeMerge::Mode::Base (from Perl distribution Data-ModeMerge), released on 2021-08-15. SYNOPSISuse Data::ModeMerge; DESCRIPTIONThis is the base class for mode type handlers. ATTRIBUTESmergerprefixprefix_recheck_prefix_subadd_prefix_subremove_prefix_subMETHODSnameReturn name of mode. Subclass must override this method. precedence_levelReturn precedence level, which is a number. The greater the number, the higher the precedence. Subclass must override this method. default_prefixReturn default prefix. Subclass must override this method. default_prefix_reReturn default prefix regex. Subclass must override this method. check_prefix($hash_key)Return true if hash key has prefix for this mode. add_prefix($hash_key)Return hash key with added prefix of this mode. remove_prefix($hash_key)Return hash key with prefix of this mode prefix removed. HOMEPAGEPlease visit the project's homepage at <https://metacpan.org/release/Data-ModeMerge>. SOURCESource repository is at <https://github.com/perlancar/perl-Data-ModeMerge>. BUGSPlease 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. AUTHORperlancar <perlancar@cpan.org> COPYRIGHT AND LICENSEThis 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.
|