☼ 林永忠 ☼ > Lingua-ZH-PinyinConvert-0.05 > PerlIO::via::PinyinConvert

Download:
Lingua-ZH-PinyinConvert-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

PerlIO::via::PinyinConvert - PerlIO layer for Lingua::ZH::PinyinConvert

SYNOPSIS ^

  use PerlIO::via::PinyinConvert from => "tongyong", to => "hanyu";
  binmode(STDOUT, ":via(PinyinConvert)");
  print 'ni hao ma?';

DESCRIPTION ^

PerlIO::via::PinyinConvert is a layer for Lingua::ZH::PinyinConvert. Users can combine this with Text::Unidecode.

  use utf8;
  use Text::Unidecode;
  use PerlIO::via::PinyinConvert from => "hanyu", to => "tongyong";
  print unidecode(
                  "\x{5317}\x{4EB0}\n"
                  );

SEE ALSO ^

Lingua::ZH::PinyinConvert

Text::Unidecode

COPYRIGHT ^

xern <xern@cpan.org>

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

syntax highlighting: