NAME

Finance::YahooJPN::Sym2Name - converts a 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;

DESCRIPTION

This module converts a 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).

$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 <lovewing@geocities.co.jp> (Saitama, JAPAN)

COPYRIGHT

Copyright (c)2002-2003 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 98:

You forgot a '=back' before '=head1'