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

NAME

Finance::YahooJPN::Sym2Name - converts a Japanese stock symbol to the name

SYNOPSIS

  use Finance::YahooJPN::Sym2Name;
  
  # get the name of company of stock symbol code '6758'
  my $stockname = sym2name('6758');
  
  print $stockname; # it prints 'SONY CORPORATION'

DESCRIPTION

This module converts a Japanese stock symbol code to the name of company. Japanese stock markets use 4-digit code number as stock symbol. You can get either English or Japanese name of company.

FUNCTIONS

sym2name($symbol [, $lang])

This function returns a string of the name of company from $symbol (a stock symbol code of 4-digit number).

In case it were a missing code number, the module returns string '(n/a)';

$lang attribute specifies language mode of the company's name. A $lang value is 'eng' (in English) or 'jpn' (in Japanese). This attribute is omittable and the default value is 'eng'.

Note that string data under 'jpn' $lang mode is encoded with UTF-8 character encoding.

AUTHOR

Masanori HATA http://www.mihr.net/ (Saitama, JAPAN)

COPYRIGHT

Copyright ©2002-2011 Masanori HATA. All rights reserved.

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 143:

Non-ASCII character seen before =encoding in '©2002-2011'. Assuming UTF-8