Bug 6679 : cataloguing/ now passing critic tests
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 31 Oct 2011 08:16:29 +0000 (21:16 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 8 Dec 2011 09:11:23 +0000 (10:11 +0100)
commita047dea5e46338d3d664935451764fffe56e6d9e
treef3d888e60b160e469cbde47ddce64385380d06d0
parentb9d743a9281bfd6c853ffaa639577e1801f3b71b
Bug 6679 : cataloguing/ now passing critic tests

Declare variables outside of conditionals
Don't use prototypes http://www.modernperlbooks.com/mt/2009/08/the-problem-with-prototypes.html
Use ":encoding(UTF-8)" to get strict validation.
cataloguing/addbiblio.pl
cataloguing/additem.pl
cataloguing/merge.pl
cataloguing/ysearch.pl
t/00-testcritic.t