Bug 5611 INIT block causes failure with mod perl
authorBryce Sanchez <brice.sanchez@sys-tech.net>
Wed, 12 Jan 2011 16:53:21 +0000 (16:53 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 12 Jan 2011 18:42:21 +0000 (13:42 -0500)
commita5ea4eb39f4dfb9b935ef787f1bd2398c7e04169
tree98f756ebbfbe4b5de95b5b8168f9c294f154ea68
parent8beda6cfca9575778581881a77483938ac4e9c5f
Bug 5611 INIT block causes failure with mod perl

Per module INIT Blocks are not run in mod_perl so their
variables are not visible. A lexical var is adequate
for this purpose

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e0d76bd88d25e87f9d8f450f1c4e029812eacf02)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Scrubber.pm