blib/lib/Win32/UrlCache/Cookies.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
_file
2.0
BEGIN
2.0
CRAP 2.0
1 package Win32::UrlCache::Cookies;
2
3 use strict;
4 use warnings;
5 use base qw( Win32::UrlCache );
6 use Win32::TieRegistry ( Delimiter => '/' );
7 use File::Spec;
8
9 sub new {
10 my $class = shift;
11
12 $class->SUPER::new( $class->_file );
13 }
14
15 sub _file {
16 my $class = shift;
17
18 my $dir = $Registry->{'CUser/Software/Microsoft/Windows/CurrentVersion/Explorer/Shell Folders//Cookies'};
19
20 return File::Spec->catfile( $dir, 'index.dat' );
21 }
22
23 1;
24
25 __END__