name 'WebPAC';
-version '2.34_1';
+version '2.34';
license 'GPL';
requires 'YAML';
+ validator don't accept 0 as valid subfield
+ subroutines gets mungled in normalization files [2.33]
+ fix marc_template hadling of field value 0
-- csv/excel output conf/normalize/csv_ff-peri.pl
++ csv/excel output conf/normalize/csv_ff-peri.pl [2.34]
- rewrite WebPAC::Input to be based on Module::Pluggable
- check usage of config in normalize file (database, input name?)
- load_ds/save_ds should use on-disk hash to preserve inodes
path: '/data/isis_data/ffps-peri/PERI'
# encoding: 'cp852'
normalize:
- path: 'conf/normalize/common.pl'
+ path: 'conf/normalize/csv_ff-peri.pl'
output:
- module: 'Excel'
path: 'out/peri.xls'
#log4perl.logger.WebPAC.Output.KinoSearch=DEBUG
#log4perl.logger.WebPAC.Output.Webpacus=DEBUG
log4perl.logger.WebPAC.Output.Jifty=DEBUG
-log4perl.logger.WebPAC.Output.Excel=DEBUG
+#log4perl.logger.WebPAC.Output.Excel=DEBUG
#log4perl.logger.WebPAC.Search.Estraier=DEBUG
my $cols = 0;
- my $hash = $self->ds_to_hash( $ds, $self->filter, disable_key_mungle => 1 );
+ my $hash = $self->ds_to_hash( $ds, $self->filter, disable_key_mungle => 1, single_values => 1 );
$log->debug("hash from ",$self->filter," = ", sub { dump( $hash ) });
my $worksheet = $self->worksheet || $log->logconfess("no worksheet?");
my $log = $self->_get_logger();
+ my $path = $self->path;
+
$self->workbook->close() ||
- $log->logdie("can't close Excel file ", $self->path, ": $!");
+ $log->logdie("can't close Excel file $path: $!");
+
+ $log->info("created $path ", -s $path, " bytes with ", $self->line, " rows");
+ return $self->line;
}
=head1 AUTHOR