App-idxdb
view release on metacpan or search on metacpan
lib/App/idxdb.pm view on Meta::CPAN
if ($args{total}) {
for my $f (@daily_fields) {
my $spec = $daily_fields{$f};
next unless $spec->{type} =~ /^(volume|money|freq)$/;
$stock_totals{$code}{$f} += $row->{$f} if defined $row->{$f};
}
}
delete $row->{StockCode};
delete $row->{persen};
delete $row->{percentage};
delete $row->{ctime};
delete $row->{mtime};
for my $f (@daily_fields) { delete $row->{$f} unless (grep {$_ eq $f} @$fields) }
push @{ $stock_rows{$code} }, $row;
}
if ($args{graph}) {
require Chart::Gnuplot;
require Color::RGB::Util;
require ColorTheme::Distinct::WhiteBG;
( run in 0.344 second using v1.01-cache-2.11-cpan-05162d3a2b1 )