Text::VisualWidth::EUC_JP - Perl extension for Triming EUC-JP text by the number of the columns of terminals and mobile phones.
use Text::VisualWidth::EUC_JP; my $length = Text::VisualWidth::EUC_JP::width($str); my $str = Text::VisualWidth::EUC_JP::trim($str, 20);
Takaaki Mizuno, <module@takaaki.info>
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.
To install Text::VisualWidth, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::VisualWidth
CPAN shell
perl -MCPAN -e shell install Text::VisualWidth
For more information on module installation, please visit the detailed CPAN module installation guide.