Bug 8442 - labels creator fixes for plack
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 19 Jul 2012 17:12:13 +0000 (19:12 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 24 Jul 2012 14:21:05 +0000 (16:21 +0200)
commit664ecc9acadc47d990f80c98f5df44de9a7d664d
tree6c87f7cd004ddb9965a606f939fbacf31be483e4
parent217fef5749ca814c6776d234bfb33ea301c47862
Bug 8442 - labels creator fixes for plack

- remove all exit(1) and replace them with __END__ which benefits CGI
- insert correct =cut markers at end of POD (required for CGI::Compile
  under plack to correctly parse source code and exeute it)
- scope variables with our which are used inside sub for plack

Signed-off-by: Mirko Tietgen <5p4m@gmx.de>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
labels/label-create-csv.pl
labels/label-create-pdf.pl
labels/label-create-xml.pl