work around CGI::Session constructor issues
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 10 Jul 2008 17:16:03 +0000 (13:16 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 10 Jul 2008 17:17:56 +0000 (13:17 -0400)
commit5d26ded3811cd050a1c70ccf76f3022a787a9588
tree9ae87ef4259f217689de22b150a9ad6c9252193c
parentf00e5a8a89d47c6dee8a63b1ab9c6d89de9a61cd
work around CGI::Session constructor issues

The constructor can fail with a useless error message if module fail to
load. Work around this by evaling it, and checking for failures, and
printing CGI::Session->errstr to get a more useful message.
IkiWiki/CGI.pm