The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

LBMA::Statistics::SilverFixing::Daily - Daily Prices Silver Fixings London Bullion Market (Internal only)

DESCRIPTION

Does the hard work.

SYNOPSIS

This modul is for internal use only. There's no need to use it directly.

Everthing is done by LBMA::Statistics (See http://search.cpan.org/perldoc?LBMA::Statistics).

new - Constructor

    use strict;

    use warnings;

    use LBMA::Statistics::SilverFixing::Daily;

    my $lbma = LBMA::Statistics::GoldFixing::Daily->new( 
                                        year => $year,
                                                day_pattern => $day_pattern
                                        ) or die $!;

_init

private method to initialize the object

year

returns the year to look for

day_pattern

returns the day_pattern to look for

dailystatsurl

determines url for daily silverstats

retrieve_row

Returns an array of fixings The number and order of elements varies depending on the year data is retrieved. There is no EUR before 1999.

        # @fixings 1999 -- 
        # 0 date
        # 1 SILVER USD 
        # 2 SILVER GBP
        # 3 SILVER EUR
        #
        # @fixings 1968 -- 1998  
        # 0 date
        # 1 SILVER USD 
        # 2 SILVER GBP

_parse

parses the content of the retrieved HTML page

AUTHOR

Thomas Fahle, <cpan at thomas-fahle.de>

BUGS

Please report any bugs or feature requests to bug-lbma-statistics at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LBMA-Statistics. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2009, 2010, 2012, 2014 Thomas Fahle

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.