use inc::Module::Install;
-perl_version '5.008006';
+perl_version '5.008008';
name 'MooseX-Attribute-Cached';
all_from 'lib/MooseX/Attribute/Cached.pm';
-author 'John Napiorkowski <jjn1056@yahoo.com>';
+author 'John Napiorkowski <john.napiorkowski@takkle.com>';
-requires 'Moose' => '0.42';
+requires 'Moose' => '0.44';
build_requires 'Test::More' => '0.70';
build_requires 'Test::Pod' => '1.14';
package MyApp;
use Moose;
- with 'MooseX::Attribute::Cached.pm';
+ use MooseX::Attribute::Cached;
## Cache Storage Options Declared Manually
has 'shared_key_1' => (
use strict;
use warnings;
-use Test::More no_plan => 1;
-use Test::Exception;
+use Test::More plan => 1;
-BEGIN {
- use_ok('MooseX::MetaDescription');
-
- use_ok('MooseX::MetaDescription::Meta::Class');
- use_ok('MooseX::MetaDescription::Meta::Attribute');
- use_ok('MooseX::MetaDescription::Meta::Trait');
- use_ok('MooseX::MetaDescription::Description');
+BEGIN {
+ use_ok('MooseX::Attribute::Cached');
}
--- /dev/null
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More plan => 1;
+
+=head1 NAME
+
+001_basic.t; tests the overall basic functionality
+
+=head1 DESCRIPTION
+
+Create a L<Moose> class that uses the Caching role and the try out the basic
+functionality. This test uses L<Cache::FastMmap> as the default cache storage
+but you can override that with the following %ENV to test against your local
+L<Cache::Memcached> based caching server:
+
+ TDB write code for %ENV
+
+=head1 TESTS
+
+This package defines the following tests.
+
+=head2 Create Test Class
+
+Create a class that uses L<MooseX::Attribute::Cached> and has some attributes
+that are cached.
+
+=cut
+
+
+=head1 AUTHOR
+
+John Napiorkowski, C<< <john.napiorkowski at takkle.com> >>
+
+=head1 COPYRIGHT & LICENSE
+
+Copyright 2008 John Napiorkowski, all rights reserved.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+
+=cut
+
+1;