Locale::RecodeData - Online Linux Manual PageSection : 3
Updated : 2022-01-21
Source : perl v5.34.0
Note : User Contributed Perl Documentation
NAMELocale::RecodeData − Abstract Base Class for Charset Converters
SYNOPSIS # For compatibility with Perl 5.005 and earlier, you must
# *use* the module before inheriting from it!
use qw (Locale::RecodeData);
use base qw (Locale::RecodeData);
DESCRIPTIONThe module Locale::RecodeData serves as an abstract base class to all converters used by Locale::Recode (3). Adding new conversion modules is currently not straightforward, and you will have to edit the sources of some modules for that purpose. First, you have to add your new converter class to the list found in Locale::_Conversions (3), so that Locale::Recode (3) knows about its presence. If there are valid aliases for the codeset of your converter, you will also have to edit Locale::_Aliases (3). Finally, you have to implement the (protected) conversion routine _recode(). See below (‟INTERFACE”) for details.
CONSTRUCTORnew (from => FROM_CODESET, to => TO_CODESET) The constructor takes two (named) arguments: from The canonical name of the source codeset. Aliases have already been resolved and the name is converted to uppercase. to The canonical name of the destination codeset. Aliases have already been resolved and the name is converted to uppercase. You normally don't have to implement the constructor. The default constructor implemented here will store the source and destination codesets in the protected members _from and _to.
METHODSThe class implements one method: _getError Returns the (protected) member _error.
INTERFACENew conversion classes must provide the following interface: new (from => FROM_CODESET, to => TO_CODESET) The constructor takes two (named) arguments: from The canonical name of the source codeset. Aliases have already been resolved and the name is converted to uppercase. to The canonical name of the destination codeset. Aliases have already been resolved and the name is converted to uppercase. _getError Should return the last error (as a string) or false if there was no error. This method is implemented in the base class already. _recode STRINGREF Should convert the argument STRINGREF in-place. In case of failure, return false, and make provisions that the method _getError() returns an informative error message.
AUTHORCopyright (C) 2002−2017 Guido Flohr <http://www.guido-flohr.net/> (<mailto:guido.flohr@cantanea.com>), all rights reserved. See the source code for details!code for details!
SEE ALSOLocale::Recode::_Aliases (3pm), Locale::Recode::_Conversions (3pm), Locale::Recode (3pm), perl (1)
POD ERRORSHey! The above document had some coding errors, which are explained below: Around line 173: =cut found outside a pod block. Skipping to next block. 0
Johanes Gumabo
Data Size : 12,365 byte
man-Locale::RecodeData.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 178,710
Visitor ID : :
Visitor IP : 3.145.99.221 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Locale::RecodeData.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Locale::RecodeData.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Locale::RecodeData.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Locale::RecodeData.3pm|43|'br══─}─══ |'br══─}─══
)