dev-perl/Finance-Quote: Fixup.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
parent
71b5f3492f
commit
b206eb8de1
3 changed files with 7 additions and 3 deletions
|
@ -32,7 +32,7 @@ index b6c4d7f..47b9393 100644
|
|||
+ } else {
|
||||
+ my $target = substr($json_data->{'Meta Data'}->{'5. Last Refreshed'}, 0, 10);
|
||||
+ $rate =
|
||||
+ $json_data->{'Time Series FX (Daily)'}->{target}->{'4. close'};
|
||||
+ $json_data->{'Time Series FX (Daily)'}->{$target}->{'4. close'};
|
||||
+ }
|
||||
+
|
||||
+ ### Rate from JSON: $rate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue