Bug 5448: Refactor Boolean.pm
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 26 Nov 2010 16:31:35 +0000 (16:31 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 1 Dec 2010 19:51:33 +0000 (08:51 +1300)
commitf08b33a9122aa908bb49a513b0ccd29c3c2b7562
treed17fbf2b32b4948222c20ebc14d3186a1bd5b8fe
parent78be08c73e4265a996c4777a90757fd66991320a
Bug 5448: Refactor Boolean.pm

Remove unnecesssary export
Use Exporter according to best practices
Use Carp not warn so we know where the error string came from
Don't create warnings manipulating undefined input
Replace package variables by lexicals

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Boolean.pm