From 78ebe18f428f152558fd2912c757f6b4448900a8 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sat, 3 Mar 2018 20:23:42 -0500 Subject: psgi optionalize until can rebuild vendor bundle --- Bugzilla/PSGI.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/PSGI.pm') diff --git a/Bugzilla/PSGI.pm b/Bugzilla/PSGI.pm index 854ae733a..46352b319 100644 --- a/Bugzilla/PSGI.pm +++ b/Bugzilla/PSGI.pm @@ -13,13 +13,13 @@ use warnings; use base qw(Exporter); use Bugzilla::Logging; -use CGI::Compile; -use CGI::Emulate::PSGI; - our @EXPORT_OK = qw(compile_cgi); sub compile_cgi { my ($script) = @_; + require CGI::Compile; + require CGI::Emulate::PSGI; + my $cgi = CGI::Compile->compile($script); my $app = CGI::Emulate::PSGI->handler( sub { -- cgit v1.2.3-24-g4f1b