WebApp/Session/MemCache.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« WebApp/Session/FileCache.pm ↑ Summary WebApp/User/Factory.pm »
1 =head1 NAME
2  
3 OpenFrame::WebApp::Session::MemCache - sessions using Cache::MemoryCache
4  
5 =head1 SYNOPSIS
6  
7 use OpenFrame::WebApp::Session::MemCache;
8  
9 # see OpenFrame::WebApp::Session
10  
11 =cut
12  
13 package OpenFrame::WebApp::Session::MemCache;
14  
15 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 7 ▶use warnings::register;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 7 ▶use Cache::MemoryCache;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 7 ▶use base qw( OpenFrame::WebApp::Session::CacheBase );
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 7 ▶use constant cache_class => "Cache::MemoryCache";
Subroutine BEGIN: called CC=1 SCAR=0.0
23  
24 7 our $VERSION = (split(/ /, '$Revision: 1.2 $'))[1];
25  
26 7 1;
27  
28 =head1 DESCRIPTION
29  
30 An C<OpenFrame::WebApp::Session> using C<Cache::MemoryCache>.
31  
32 Inherits its interface from L<OpenFrame::WebApp::Session::CacheBase>.
33  
34 =head1 AUTHOR
35  
36 Steve Purkis <spurkis@epn.nu>
37  
38 =head1 COPYRIGHT
39  
40 Copyright (c) 2003 Steve Purkis. All rights reserved.
41 Released under the same license as Perl itself.
42  
43 =head1 SEE ALSO
44  
45 L<Cache::MemoryCache>,
46 L<OpenFrame::WebApp::Sesssion>,
47 L<OpenFrame::WebApp::Sesssion::CacheBase>,
48 L<OpenFrame::WebApp::Sesssion::FileCache>
49  
50 =cut
« WebApp/Session/FileCache.pm ↑ Summary WebApp/User/Factory.pm »