use warnings;
use CGI;
-use Sys::Syslog qw(syslog);
use Text::CSV_XS;
use Data::Dumper;
use C4::Labels::Batch 1.000000;
use C4::Labels::Template 1.000000;
use C4::Labels::Layout 1.000000;
-use C4::Labels::PDF 1.000000;
+use C4::Creators::PDF 1.000000;
use C4::Labels::Label 1.000000;
=head
print $csv->string() . "\n";
}
else {
- syslog("LOG_ERR", "labels/label-create-csv.pl : Text::CSV_XS->combine() returned the following error: %s", $csv->error_input);
+ warn sprintf('Text::CSV_XS->combine() returned the following error: %s', $csv->error_input);
next CSV_ITEMS;
}
}