File Coverage

blib/lib/Embperl/Out.pm
Criterion Covered Total %
statement 10 13 76.9
branch n/a
condition n/a
subroutine 4 5 80.0
pod n/a
total 14 18 77.7


line stmt bran cond sub pod time code
1              
2             ###################################################################################
3             #
4             # Embperl - Copyright (c) 1997-2008 Gerald Richter / ecos gmbh www.ecos.de
5             # Embperl - Copyright (c) 2008-2014 Gerald Richter
6             #
7             # You may distribute under the terms of either the GNU General Public
8             # License or the Artistic License, as specified in the Perl README file.
9             #
10             # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
11             # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12             # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13             #
14             # $Id: Out.pm 1578075 2014-03-16 14:01:14Z richter $
15             #
16             ###################################################################################
17              
18              
19             package Embperl::Out ;
20              
21 1     1   7 use Embperl ;
  1         2  
  1         35  
22 1     1   7 use Embperl::Constant ;
  1         1  
  1         145  
23              
24              
25             sub TIEHANDLE
26              
27             {
28 66     66   103 my $class ;
29            
30 66         231 return bless \$class, shift ;
31             }
32              
33              
34             sub PRINT
35              
36             {
37 50     50   57 shift ;
38 50         610 Embperl::output(join ('', @_)) ;
39             }
40              
41             sub PRINTF
42              
43             {
44 0     0     shift ;
45 0           my $fmt = shift ;
46 0           Embperl::output(sprintf ($fmt, @_)) ;
47             }
48              
49             1 ;