You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really hate being the bearer of bad news, but just recently been getting a rather annoying error message:
Use of uninitialized value $age in numeric gt (>) at /usr/local/share/perl/5.20.2/Finance/BeanCounter.pm line 1743.
Things are still working, but it is annoying. Line 1743 simply states:
if ($age > 5) {
The full expression is:
if ($age > 5) { warn "Ignoring $hash{$key}{symbol} ($hash{$key}{name}) " . "with old date $hash{$key}{date}\n"; #warn "Ignoring $hash{$key}{name} with old date $hash{$key}{date}\n"; #if $Config{debug}; $hash{$key}{date} = "N/A"; next; }
I am no whiz with perl, but I do believe there is a simple fix for this somewhere. Thanks for writing such a kickass program. Beers on me, if we ever meet. Cheers.
The text was updated successfully, but these errors were encountered:
The code may be correct and warn you of a price data point with an associated date that is old.
Check the security, and its data. You can do that eg via call yahooquote which calls the same data-gatherer Finance::YahooQuote which beancounter relies on.
I really hate being the bearer of bad news, but just recently been getting a rather annoying error message:
Use of uninitialized value $age in numeric gt (>) at /usr/local/share/perl/5.20.2/Finance/BeanCounter.pm line 1743.
Things are still working, but it is annoying. Line 1743 simply states:
if ($age > 5) {
The full expression is:
if ($age > 5) { warn "Ignoring $hash{$key}{symbol} ($hash{$key}{name}) " . "with old date $hash{$key}{date}\n"; #warn "Ignoring $hash{$key}{name} with old date $hash{$key}{date}\n"; #if $Config{debug}; $hash{$key}{date} = "N/A"; next; }
I am no whiz with perl, but I do believe there is a simple fix for this somewhere. Thanks for writing such a kickass program. Beers on me, if we ever meet. Cheers.
The text was updated successfully, but these errors were encountered: