http://www.perlmonks.org?node_id=131898


in reply to Re: Re: Re: Re: Yahoo Currency Exchange Interface
in thread Yahoo Currency Exchange Interface

Lastly, because pjf, in all his glory, is parsing HTML by hand in his Finance Packages with regards to Yahoo (and if Yahoo changes the output *BAM*), instead of using the raw CSV generator, which I describe in my notes.

I too noticed this about the Finance::Quote packages and mentioned it to Paul - The module that is Finance::Quote now is more the product of a lot of code that he inherited with the package than anything else. I had looked at helping out a bit and rewriting some code to make use of HTML::TokeParser but just haven't had the time.

I will however direct Paul's attention to this thread and see what he thinks of the idea of making use of the CSV exports rather than the HTML pages with regard to Yahoo conversion figures - I can't however see any objections which he would have to such a change.

 

perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'