projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Simplify complex ternary expression
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Script
/
CGI.pm
diff --git
a/lib/Catalyst/Script/CGI.pm
b/lib/Catalyst/Script/CGI.pm
index
60392f5
..
dc7f20f
100644
(file)
--- a/
lib/Catalyst/Script/CGI.pm
+++ b/
lib/Catalyst/Script/CGI.pm
@@
-1,8
+1,9
@@
package Catalyst::Script::CGI;
use Moose;
-BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
use namespace::autoclean;
+sub _plack_engine_name { 'CGI' }
+
with 'Catalyst::ScriptRole';
__PACKAGE__->meta->make_immutable;