NAME
App::Chart::Weblink -- web page links for symbols
SYNOPSIS
use App::Chart::Weblink;
DESCRIPTION
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.
FUNCTIONS
- App::Chart::Weblink->new (name=>..., pred=>...)
-
Create and register a new weblink. The return is a new
App::Chart::Weblinkobject, though usually this is not of interest (only all the links later withlinks_for_symbolbelow). - @list = App::Chart::Weblink->links_for_symbol ($symbol)
-
Return a list of
App::Chart::Weblinkobjects for use on the given symbol. Eg.my @links = App::Chart::Weblink->links_for_symbol ('BHP.AX');
METHODS
$string = $weblink->name-
Return the menu item name for
$weblink. This can include a "_" underscore for a mnemonic. $string = $weblink->url ($symbol)-
Return the url for
$weblinkon$symbol. $bool = $weblink->sensitive ($symbol)-
Return true if the menu item for
$weblinkshould be sensitive for$symbol, ie. there's a target URL for that symbol. $weblink->open ($symbol)-
Open a web browser to show
$weblinkfor$symbol.