File Coverage

blib/lib/MasonX/Resolver/ExtendedCompRoot.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 15 86.6


line stmt bran cond sub pod time code
1             # This software is copyright (c) 2004 Alex Robinson.
2             # It is free software and can be used under the same terms as perl,
3             # i.e. either the GNU Public Licence or the Artistic License.
4              
5             package MasonX::Resolver::ExtendedCompRoot;
6              
7 1     1   4125 use strict;
  1         1  
  1         76  
8              
9             our $VERSION = '0.04';
10              
11 1     1   6 use base qw(HTML::Mason::Resolver::File);
  1         2  
  1         454  
12              
13 1     1   29078 use HTML::Mason::Tools qw(read_file_ref);
  1         1  
  1         62  
14              
15             #
16             # call ApacheHandler's apache_request_to_comp_path in a way
17             # that doesn't cause standalone invocations to choke
18             #
19             sub apache_request_to_comp_path
20             {
21 0     0 1   return HTML::Mason::Resolver::File::apache_request_to_comp_path(@_);
22             }
23              
24              
25             1;
26              
27              
28             __END__