Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libfinance-quote-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libfinance-quote-perl  ]

套件: libfinance-quote-perl (1.51-1)

Perl module for retrieving stock quotes from a variety of sources

Finance::Quote gets stock quotes from various internet sources all over the world. Quotes are obtained by constructing a quoter object and using the fetch method to gather data, which is returned as a two-dimensional hash (or a reference to such a hash, if called in a scalar context). For example:

 $q = Finance::Quote->new;
 %info = $q->fetch("australia", "CML");
 print "The price of CML is ".$info{"CML", "price"};

The first part of the hash (eg, "CML") is referred to as the stock. The second part (in this case, "price") is referred to as the label.

其他與 libfinance-quote-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libfinance-quote-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 165.5 kB499 kB [文件列表]