Locale:...::Script(3)
β¨ NAME β¨
Okay bestie, this page is Locale:...::Script(3) β living under User Contributed Perl Documentation β and the module is Locale::Codes::Script: the module for dealing with script code sets. π
π SYNOPSIS π
Hereβs the whole starter pack, literally:
use Locale::Codes::Script;
$name = code2script(CODE);
$code = script2code(NAME);
@codes = all_script_codes();
@names = all_script_names();
So you can pull a name from a code, pull a code from a name, and get all the codes and all the names. Obsessed. π
π DESCRIPTION π
This module provides access to script code sets. Please refer to the Locale::Codes::Types document for a description of the code sets available. β¨
Most of the routines take an optional additional argument which specifies the code set to use. The code set can be specified using the name of a code set, or the perl constant specified in the above document. If not specified, the default code set will be used. Periodt. π
π οΈ ROUTINES π οΈ
All routines in this module call the appropriate method in the Locale::Codes module, using an object of type: script. Please refer to the documentation of the Locale::Codes module for details about each function. No cap, thatβs where the full lore lives. π
π Exported automatically π
The following functions are exported automatically:
code2script(CODE [,CODESET] [,'retired'])β seecode2nameinLocale::Codes.code2scripts(CODE [,CODESET])β seecode2namesinLocale::Codes.script2code(NAME [,CODESET] [,'retired'])β seename2codeinLocale::Codes.script_code2code(CODE ,CODESET ,CODESET2)β seecode2codeinLocale::Codes.all_script_codes([CODESET] [,'retired'])β seeall_codesinLocale::Codes.all_script_names([CODESET] [,'retired'])β seeall_namesinLocale::Codes.
π Not exported β call fully qualified π
The following functions are not exported and must be called fully qualified with the package name:
Locale::Codes::Script::show_errors(FLAG)β by default, invalid input will produce empty results, but no errors. By passing in a non-zero value ofFLAG, errors will be produced. Seeshow_errorsinLocale::Codesbut note that the default for the non-OO modules are to NOT produce errors. π«ΆLocale::Codes::Script::rename_script(CODE ,NEW_NAME [,CODESET])β seerename_codeinLocale::Codes.Locale::Codes::Script::add_script(CODE ,NAME [,CODESET])β seeadd_codeinLocale::Codes.Locale::Codes::Script::delete_script(CODE [,CODESET])β seedelete_codeinLocale::Codes.Locale::Codes::Script::add_script_alias(NAME ,NEW_NAME)β seeadd_aliasinLocale::Codes.Locale::Codes::Script::delete_script_alias(NAME)β seedelete_aliasinLocale::Codes.Locale::Codes::Script::rename_script_code(CODE ,NEW_CODE [,CODESET])β seereplace_codeinLocale::Codes.Locale::Codes::Script::add_script_code_alias(CODE ,NEW_CODE [,CODESET])β seeadd_code_aliasinLocale::Codes.Locale::Codes::Script::delete_script_code_alias(CODE [,CODESET])β seedelete_code_aliasinLocale::Codes.
π SEE ALSO π
Locale::Codesβ The Locale-Codes distribution. π
π AUTHOR π
See Locale::Codes for full author history. π
Currently maintained by Sullivan Beck (sbeck@cpan.org). π«Ά
Β©οΈ COPYRIGHT Β©οΈ
Copyright (c) 2011-2024 Sullivan Beck
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
Thatβs the whole Locale:...::Script(3) page, bestie. π¦ This version is perl v5.42.0, dated 2024-06-23, and itβs giving iconic manual-page energy. Slay responsibly! π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Locale-Codes 3.790.0-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms