App::Chart::Weblink -- web page links for symbols
use App::Chart::Weblink;
A weblink is a URL to some web site page related to a symbol, such as a company information page or commodity contract specifications. The weblinks for a given symbol are presented under the "View/Web" menu in the main Chart GUI.
Create and register a new weblink. The return is a new App::Chart::Weblink object, though usually this is not of interest (only all the links later with links_for_symbol below).
App::Chart::Weblink
links_for_symbol
Return a list of App::Chart::Weblink objects for use on the given symbol. Eg.
my @links = App::Chart::Weblink->links_for_symbol ('BHP.AX');
$string = $weblink->name
Return the menu item name for $weblink. This can include a "_" underscore for a mnemonic.
$weblink
$string = $weblink->url ($symbol)
Return the url for $weblink on $symbol.
$symbol
$bool = $weblink->sensitive ($symbol)
Return true if the menu item for $weblink should be sensitive for $symbol, ie. there's a target URL for that symbol.
$weblink->open ($symbol)
Open a web browser to show $weblink for $symbol.
App::Chart::Weblink::SandP, App::Chart::Gtk2::WeblinkMenu
To install two_face, copy and paste the appropriate command in to your terminal.
cpanm
cpanm two_face
CPAN shell
perl -MCPAN -e shell install two_face
For more information on module installation, please visit the detailed CPAN module installation guide.