The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Geo::Direction::Name::Spec::Chinese - Add chinese traditional direction specification to Geo::Direction::Name

SYNOPSIS

  # After install this module:
  
  use Geo::Direction::Name;
  
  my $dirn = Geo::Direction::Name->new({spec=>'chinese',locale=>'ja_JP'});
  
  my $dir = $dirn->from_string('�q');
  # 0.000
  
  my $str = $dirn->to_string(45.0,{ devide => 8 });
  # ��

DESCRIPTION

Geo::Direction::Name::Spec::Chinese adds chinese traditional direction specification to Geo::Direction::Name.

Chinese traditional direction has some variation of specification, so this module select specification by deviding number of direction.

OVERRIDE / INTERNAL METHOD

  • new

  • allowed_dev

  • default_dev

  • locale

  • to_string

  • from_string

AUTHOR

OHTSUKA Ko-hei <nene@kokogiko.net>

SEE ALSO

LICENSE

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