| 1 | # -*- perl -*- | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use FindBin; BEGIN {FindBin->again} | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | ▶ | use YATT::Lite::WebMVC0::SiteApp -as_base; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 1 | my $app_root = $FindBin::Bin; | |||||||||
| 10 | { | ||||||||||
| 11 | 1 | my MY $site = MY->load_factory_for_psgi( | |||||||||
| 12 | $0, | ||||||||||
| 13 | doc_root => "$app_root/public", | ||||||||||
| 14 | ); | ||||||||||
| 15 | |||||||||||
| 16 | 1 | ▶ | return $site if MY->want_object; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 17 | |||||||||||
| 18 | 0 | return $site->to_app; | |||||||||
| 19 | } | ||||||||||