blib/lib/Embperl/Recipe.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
get_recipe
2.0
Execute
2.0
BEGIN
2.0
CRAP 2.0
1  
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 #
11 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
12 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
13 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14 #
15 ###################################################################################
16
17  
18  
19 package Embperl::Recipe ;
20  
21 use strict ;
22 use vars qw{@ISA @EXPORT_OK %EXPORT_TAGS %Recipes} ;
23  
24 no warnings "uninitialized" ;
25  
26  
27 # ---------------------------------------------------------------------------------
28 #
29 # Get/create named recipe
30 #
31 # ---------------------------------------------------------------------------------
32  
33  
34 sub get_recipe
35  
36 {
37 my ($r, $name) = @_ ;
38  
39 $r -> app -> get_recipe ($r, $name) ;
40 }
41  
42  
43 # ---------------------------------------------------------------------------------
44 #
45 # Execute
46 #
47 # ---------------------------------------------------------------------------------
48  
49  
50  
51 sub Execute
52  
53 {
54 my ($self) = @_ ;
55  
56 return Embperl::Execute ({recipe => $self}) ;
57 }
58  
59  
60 1;
61  
62  
63 __END__