#log4perl.logger.WebPAC.Input.Gutenberg=DEBUG
#log4perl.logger.WebPAC.Input.DBF=DEBUG
#log4perl.logger.WebPAC.Input.ISI=DEBUG
-log4perl.logger.WebPAC.Input.XML=DEBUG
+#log4perl.logger.WebPAC.Input.XML=DEBUG
#log4perl.logger.WebPAC.Normalize.=DEBUG
#log4perl.logger.WebPAC.Normalize.new=DEBUG
# special mungle file which prepare data_structure from XML
my $h = get_ds->{node};
-warn "## $0 hash to work on = ",dump( $h );
+#warn "## hash to work on = ",dump( $h );
set_ds(
Title => $h->{title},
my $arg = {@_};
-warn "#### arg = ",dump( $arg );
+#warn "#### arg = ",dump( $arg );
my $log = $self->_get_logger();
if ( my $rules = $self->{mungle_rules} ) {
sub get_ds {
- warn "### get_ds xml = ",dump($xml);
+# warn "### get_ds xml = ",dump($xml);
return $xml;
}
sub set_ds {
my $hash = {@_};
- warn "### set_ds hash = ",dump($hash);
+# warn "### set_ds hash = ",dump($hash);
foreach my $f ( keys %$hash ) {
- warn "+++ $f ", dump( $hash->{$f} ),"\n";
+# warn "+++ $f ", dump( $hash->{$f} ),"\n";
$ds->{$f} = $hash->{$f};
}
- warn "### set_ds mungle_ds = ",dump($ds);
+# warn "### set_ds mungle_ds = ",dump($ds);
}
eval "$rules";
$log->logdie("mungle rules $path error: $@") if $@;
- warn "### set_ds after mungle_rules ds = ",dump($ds);
+# warn "### set_ds after mungle_rules ds = ",dump($ds);
} else {
$ds = $xml;