Moshe Kamensky > Text-Bidi-0.03 > Text::Bidi::CapRTL

Download:
Text-Bidi-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Text::Bidi::CapRTL - bidi algorithm with RTL capital letters

SYNOPSIS ^

        use Text::Bidi::CapRTL qw(log2vis);

        print scalar log2vis('car is THE CAR in arabic');
        # prints 'car is RAC EHT in arabic'

DESCRIPTION ^

This 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.

SEE ALSO ^

Text::Bidi

AUTHOR ^

Moshe Kamensky, mailto:kamensky@cpan.org

COPYRIGHT & LICENSE ^

Copyright 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.

syntax highlighting: