Bug 5105 - Remove use of depreciated Switch module
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 8 Sep 2010 13:16:32 +0000 (14:16 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 10 Nov 2010 22:32:02 +0000 (11:32 +1300)
commita9010530a331d9ee047e0d42a9f8206a206027a3
tree7a1122d5cb5881d74b32717831ceca5a326133da
parent863830f3f91110bdbd930755139f844870234ccc
Bug 5105 - Remove use of depreciated Switch module

Use of switch generates errors in perl 12 and above
Replaced uses of the Switch module by if- else constructs
Removed some mixed space+tab indentation around these where
it generated visual confusion

As of perl 10 you can use given/when constructs but this is not
supported in earlier perls.
C4/Reports/Guided.pm
basket/downloadcart.pl
opac/opac-detail.pl
opac/opac-downloadcart.pl
opac/opac-downloadshelf.pl
tools/batchMod.pl
virtualshelves/downloadshelf.pl