Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libfinance-quote-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libfinance-quote-perl  ]

Package: 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.

Other Packages Related to libfinance-quote-perl

  • depends
  • recommends
  • suggests

Download libfinance-quote-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 165.5 kB499 kB [list of files]