blib/script/embpexec.pl untested

filter: Statementstmt 0.0% 0 / 10 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 18 CC 2 SCAR 13.9
CC
2
Cov
0%
BEGIN
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 4.0
1 #!/usr/local/bin/perl
2 ###################################################################################
3 #
4 # Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de
5 # Embperl - Copyright (c) 2008-2015 Gerald Richter
6 # Embperl - Copyright (c) 2015-2023 actevy.io
7 #
8 # You may distribute under the terms of either the GNU General Public
9 # License or the Artistic License, as specified in the Perl README file.
10 # For use with Apache httpd and mod_perl, see also Apache copyright.
11 #
12 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
13 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15 #
16 ###################################################################################
17  
18 BEGIN
19 {
20 DB::parse_options("NonStop=1") if (defined (&DB::parse_options)) ;
21 %Embperl::initparam = (use_env => 1) ;
22 }
23  
24 use Embperl;
25 use Embperl::Run ;
26  
27 die "Do not use as CGI script. Use 'embpcgi.pl' instead" if ($ENV{GATEWAY_INTERFACE}) ;
28  
29 Embperl::Run::run (@ARGV) ;
30  
31 __END__