use Text::Bidi::CapRTL qw(log2vis);
print scalar log2vis('car is THE CAR in arabic');
# prints 'car is RAC EHT in arabic'
DESCRIPTIONThis is a sub class of Text::Bidi that overrides ``log2vis()'' in Text::Bidi in that CAPITAL letters in the input and output strings are interpreted as right-to-left. It is mainly useful for testing and demonstration. The new log2vis() function has exactly the same interface.
Loading this package will make all procedural calls to log2vis() (without an explicit object) to use this convention.
AUTHORMoshe Kamensky, <mailto:[email protected]>
COPYRIGHT & LICENSECopyright 2006 Moshe Kamensky, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.