On Fri Oct 24 16:47:46 2014, SimonArlott wrote:
Show quoted text> MStaruk returns the "Share Class Size (Mil)" value instead of the
> "NAV" value.
>
> Example: GB00B7W6PR65 should be 277.35 GBX not 70.23 GBP
Attached patch works for me.
--- lib/Finance/Quote/MStaruk.pm
+++ lib/Finance/Quote/MStaruk.pm
@@ -157,7 +157,7 @@
my ($currency, $date, $price, $pchange);
if ($webdoc =~
- m[<td class="line heading">ISIN</td>.*<span class="heading"><br />([0-9]{2}/[0-9]{2}/[0-9]{4})</span>.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] )
+ m[<td class="line heading">NAV<span class="heading"><br />([0-9]{2}/[0-9]{2}/[0-9]{4})</span>.*([A-Z]{3}).([0-9\.]+).*>([0-9\.\-]+)] )
{
$date = $1;