Takaaki Mizuno > Text-VisualWidth-0.02 > Text::TrimViewWidth::UTF8

Download:
Text-VisualWidth-0.02.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Text::TrimViewWidth::UTF8 - Perl extension for Triming UTF-8 text by the number of the columns of terminals and mobile phones.

SYNOPSIS ^

  use Text::VisualWidth::UTF8;
  my $length = Text::VisualWidth::UTF8::width($str);
  my $str    = Text::VisualWidth::UTF8::trim($str, 20);

AUTHOR ^

Takaaki Mizuno, <module@takaaki.info>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Takaaki Mizuno

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: