Permalink
Browse files

ABSTRACT instead of =head1 NAME

  • Loading branch information...
1 parent 1cf53cb commit f237d9eeda1f1fbb6f0902150442901ba15ff2fd @nothingmuch committed Jul 6, 2010
View
6 lib/Cache/Ref.pm
@@ -1,4 +1,6 @@
package Cache::Ref;
+# ABSTRACT: Memory only cache of live references
+
use Moose;
__PACKAGE__->meta->make_immutable;
@@ -7,10 +9,6 @@ __PACKAGE__;
=pod
-=head1 NAME
-
-Cache::Ref - Memory only cache of live references
-
=head1 SYNOPSIS
# this class is just a base class and a documentation start point
View
6 lib/Cache/Ref/CAR.pm
@@ -1,4 +1,6 @@
package Cache::Ref::CAR;
+# ABSTRACT: CLOCK with Adaptive Replacement
+
use Moose;
use List::Util qw(max min);
@@ -144,10 +146,6 @@ __PACKAGE__;
=pod
-=head1 NAME
-
-Cache::Ref::CAR - CLOCK with Adaptive Replacement
-
=head1 SYNOPSIS
my $c = Cache::Ref::CAR->new(
View
6 lib/Cache/Ref/CAR/Base.pm
@@ -1,4 +1,6 @@
package Cache::Ref::CAR::Base;
+# ABSTRACT: base clase for CAR and CART
+
use Moose::Role;
# TODO
@@ -387,10 +389,6 @@ __PACKAGE__;
=pod
-=head1 NAME
-
-Cache::Ref::CAR::Base - base clase for CAR and CART
-
=head1 SYNOPSIS
# see CAR or CART
View
6 lib/Cache/Ref/CART.pm
@@ -1,4 +1,6 @@
package Cache::Ref::CART;
+# ABSTRACT: CAR with temporal filtering
+
use Moose;
use List::Util qw(max min);
@@ -228,10 +230,6 @@ __PACKAGE__;
=pod
-=head1 NAME
-
-Cache::Ref::CART - CAR with temporal filtering
-
=head1 SYNOPSIS
my $c = Cache::Ref::CART->new(
View
6 lib/Cache/Ref/CLOCK.pm
@@ -1,4 +1,6 @@
package Cache::Ref::CLOCK;
+# ABSTRACT: CLOCK cache replacement algorithm
+
use Moose;
use namespace::autoclean;
@@ -26,10 +28,6 @@ __PACKAGE__;
=pod
-=head1 NAME
-
-Cache::Ref::CLOCK - CLOCK cache replacement algorithm
-
=head1 SYNOPSIS
my $c = Cache::Ref::CLOCK->new(
View
6 lib/Cache/Ref/GCLOCK.pm
@@ -1,4 +1,6 @@
package Cache::Ref::GCLOCK;
+# ABSTRACT: GCLOCK cache replacement algorithm
+
use Moose;
use namespace::autoclean;
@@ -17,10 +19,6 @@ __PACKAGE__->meta->make_immutable;
__PACKAGE__;
-=head1 NAME
-
-Cache::Ref::GCLOCK - GCLOCK cache replacement algorithm
-
=head1 SYNOPSIS
my $c = Cache::Ref::GCLOCK->new(
View
6 lib/Cache/Ref/LIFO.pm
@@ -1,4 +1,6 @@
package Cache::Ref::LIFO;
+# ABSTRACT: Saves entries until full, discarding subsequent sets.
+
use Moose;
use namespace::autoclean;
@@ -87,10 +89,6 @@ __END__
=pod
-=head1 NAME
-
-Cache::Ref::LIFO - Saves entries until full, discarding subsequent sets.
-
=head1 SYNOPSIS
my $c = Cache::Ref::LIFO->new( size => $n );
View
6 lib/Cache/Ref/LRU.pm
@@ -1,4 +1,6 @@
package Cache::Ref::LRU;
+# ABSTRACT: Least recently used expiry policy
+
use Moose;
use Cache::Ref::Util::LRU::List;
@@ -99,10 +101,6 @@ __PACKAGE__->meta->make_immutable;
__PACKAGE__;
-=head1 NAME
-
-Cache::Ref::LRU - Least recently used expiry policy
-
=head1 SYNOPSIS
my $c = Cache::Ref::LRU->new(
View
6 lib/Cache/Ref/Null.pm
@@ -1,4 +1,6 @@
package Cache::Ref::Null;
+# ABSTRACT: Caches nothing
+
use Moose;
use namespace::autoclean;
@@ -23,10 +25,6 @@ __END__
=pod
-=head1 NAME
-
-Cache::Ref::Null - Caches nothing
-
=head1 SYNOPSIS
# useful for comparing the effect of a cache compared to no

0 comments on commit f237d9e

Please sign in to comment.