Simon Bertrang > CSS-Orientation-0.01 > CSS::Orientation

Download:
CSS-Orientation-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

CSS::Orientation - Perl extension to change text orientation in CSS

SYNOPSIS ^

  use CSS::Orientation qw( ChangeLeftToRightToLeft );
  ...
  $rtlcss = ChangeLeftToRightToLeft( $css );
  ...
  # or without imports
  $rtlcss = CSS::Orientation->change( $css );

DESCRIPTION ^

This module flips CSS from LTR to an RTL orienation and vice-versa. It is a port of cssjanus to Perl to have the same functionality available without having to start another application.

EXPORT

Nothing by default.

ChangeLeftToRightToLeft( \@lines | $line [ swap_ltr_rtl_in_url swap_left_right_in_url ] )

METHODS

To use it without import or after require:

change( \@lines | $line [ swap_ltr_rtl_in_url swap_left_right_in_url ] )

SEE ALSO ^

http://code.google.com/p/cssjanus/

AUTHOR ^

Simon Bertrang, <janus@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2013 by Simon Bertrang

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.2 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: