Locale:...onstants(3)
π Locale::TextDomain::OO::Util::Constants π
okay bestie, welcome to the User Contributed Perl Documentation section 3 glow-up of Locale::TextDomain::OO::Util::Constants β¨ it's a Perl module, it's a whole vibe, and yes it's literally just here to hand you some lexicon constants π
πΈ NAME πΈ
Locale::TextDomain::OO::Util::Constants β Lexicon constants. that's it. that's the whole job description, and she does it flawlessly π
π¦ VERSION π¦
4.001 babes, we're on 4.001 π«Ά
$Id: Constants.pm 715 2018-06-04 15:08:31Z steffenw $
and the source URL, in all its glory:
$HeadURL:
svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/Locale-TextDomain-OO-Util/trunk/lib/Locale/TextDomain/OO/Util/Constants.pm
$
β¨ SYNOPSIS β¨
here's the move, no notes:
use Locale::TextDomain::OO::Util::Constants;
my $const = Locale::TextDomain::OO::Util::Constants->instance;
like. that's it. you pull the instance and you're in business π
π DESCRIPTION π
This module provides lexicon constants. lexicon constants!! that's the entire description and honestly? icon behavior. it knows what it is π
π SUBROUTINES/METHODS π
method instance
see SYNOPSIS bestie, it's up there, go look π
method lexicon_key_separator
$separator = $const->lexicon_key_separator;
gives you the separator, slays, moves on π
method msg_key_separator
$separator = $const->msg_key_separator; # Perl
$separator = $const->msg_key_separator('JSON');
default? Perl energy. pass 'JSON' and she switches it up, versatile queen π
method plural_separator
$separator = $const->plural_separator; # Perl
$separator = $const->plural_separator('JSON');
same deal, same duality β no arg means Perl, 'JSON' means JSON, and both are correct π
πΈ EXAMPLE πΈ
Inside of this distribution is a directory named example. Run this *.pl files. πββοΈπ¨
(yes it says "this *.pl files", we're keeping it, it's part of the lore, no cap)
π DIAGNOSTICS π
none. zero. nothing. she doesn't do drama π
π CONFIGURATION AND ENVIRONMENT π
none. no env vars, no config files, no setup ritual, we love a low-maintenance icon β¨
π§ DEPENDENCIES π§
charnamesnamespace::autoclean
two little besties carrying the whole thing, periodt π«Ά
π INCOMPATIBILITIES π
not known. she plays nice with everyone π
π BUGS AND LIMITATIONS π
none. flawless. we said what we said π
β SEE ALSO β
Locale::TextDoamin::OO
yes bestie, that's spelled TextDoamin in the original and we are NOT fixing it, it's a historical artifact, iykyk π
π AUTHOR π
Steffen Winkler β thank you for your service, legend π«‘π
π₯ LICENSE AND COPYRIGHT π₯
Copyright (c) 2014 - 2018, Steffen Winkler "<steffenw at cpan.org>". All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
and that's the whole page bestie!! this beauty was documented by perl v5.42.0 on 2025-07-25, so go forth and separate your lexicon keys in peace πβ¨π¦ππ
π¦ where this page comes from
- fedora 43: perl-Locale-TextDomain-OO-Util 4.002-19.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms